Last active
April 26, 2020 12:30
-
-
Save c0ldfront/82a53d55af3dbb1b0996841c22e405c0 to your computer and use it in GitHub Desktop.
Function Comp w/ materialized theme/styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { FunctionComponent } from 'react'; | |
import { Theme, createStyles, WithStyles, withStyles } from '@material-ui/core'; | |
const styles = (theme: Theme) => createStyles({}); | |
interface OwnProps extends WithStyles<typeof styles> {} | |
type Props = OwnProps; | |
const SubscribeNow: FunctionComponent<Props> = props => { | |
const { classes } = props; | |
return <div></div>; | |
}; | |
export default withStyles(styles, { withTheme: true })(SubscribeNow); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment