@material-ui/styles#withStyles TypeScript Examples

The following examples show how to use @material-ui/styles#withStyles. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConfShareDialog.tsx    From shadowsocks-electron with GNU General Public License v3.0 6 votes vote down vote up
StyledCard = withStyles(
  (theme) => (
    createStyles({
      root: {
        backgroundColor: 'transparent !important',
        maxWidth: 300,
        boxShadow: 'none'
      },
    })
  )
)(Card)
Example #2
Source File: actions.tsx    From backstage with Apache License 2.0 5 votes vote down vote up
YellowStar = withStyles({
  root: {
    color: '#f3ba37',
  },
})(Star)
Example #3
Source File: useContextMenu.tsx    From shadowsocks-electron with GNU General Public License v3.0 5 votes vote down vote up
StyledMenuItem = withStyles((theme) => createStyles({
  root: {
    // minWidth: 150
  }
}))(MenuItem)