material ui makestyles spacing code example
Example: spacing material ui makestyles
const theme = createMuiTheme({
spacing: [0, 4, 8, 16, 32, 64],
});
theme.spacing(2); // = 8
const theme = createMuiTheme({
spacing: [0, 4, 8, 16, 32, 64],
});
theme.spacing(2); // = 8