material-ui.com spacing component code example
Example: spacing material ui
const theme = {
spacing: [0, 2, 3, 5, 8],
}
<Box m={-2} /> // margin: -3px;
<Box m={0} /> // margin: 0px;
<Box m={2} /> // margin: 3px;
const theme = {
spacing: [0, 2, 3, 5, 8],
}
<Box m={-2} /> // margin: -3px;
<Box m={0} /> // margin: 0px;
<Box m={2} /> // margin: 3px;