Currently it is possible to apply custom styles via styling attributes: style, imageStyle, etc.
It would be much greater, to be able to apply styles with materialUI's withStyles() hook.
const CustomImage = withStyles(theme => ({
root: {
backgroundColor: theme.palette.primary.main,
},
image: {
height: 'auto',
}
}))(Image);
Currently it is possible to apply custom styles via styling attributes:
style,imageStyle, etc.It would be much greater, to be able to apply styles with materialUI's
withStyles()hook.