I have this code:
const styles = theme => ({
root: {
paddingTop: theme.spacing.unit * 3,
paddingBottom: theme.spacing.unit * 3,
paddingLeft: 0,
paddingRight: 0,
}
});
Is it posible to set padding with only one line? (I want to do something like this:)
const styles = theme => ({
root: {
padding: 0 theme.spacing.unit * 3',
}
});
padding: theme.spacing.unit*3 0,