Skip to content

Support styling with withStyles() hook. #47

@davemecha

Description

@davemecha

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions