compose( connect(state => ({ counter: getCounter(state) }), { push }), withStyles(styles) )(Hello)
withStyles(() => ({ head: { backgroundColor: "#f5f5f5", color: "black", fontSize: 14 }, body: { fontSize: 14 } }))(TableCell)
connect(() => ({}), mapDispatchToProps)(withStyles(styles)(NewApptRequest))
const styled = Component => (style, options) => { function StyledComponent(props) { const { classes, className, ...other } = props; return ( <Component className={classNames(classes.root, className)} {...other} /> ); } StyledComponent.propTypes = { // eslint-disable-next-line react/forbid-prop-types classes: PropTypes.object.isRequired, // eslint-disable-next-line react/require-default-props className: PropTypes.string }; const styles = typeof style === "function" ? theme => ({ root: style(theme) }) : { root: style }; return withStyles(styles, options)(StyledComponent); }
withStyles(theme => ({ head: { backgroundColor: "#e5e5e5", color: theme.palette.common.black, padding: "5px", fontSize: 14 }, body: { fontSize: 13, padding: "5px", overflowWrap: "break-word" } }))(TableCell)
compose( connect(state => ({ counter: getCounter(state) }), { push, increment, decrement, }), withStyles(styles) )(Home)
connect(() => ({}), mapDispatchToProps)(withStyles(styles)(Login))