Skip to content

Instantly share code, notes, and snippets.

@c0ldfront
Last active April 26, 2020 12:30
Show Gist options
  • Save c0ldfront/82a53d55af3dbb1b0996841c22e405c0 to your computer and use it in GitHub Desktop.
Save c0ldfront/82a53d55af3dbb1b0996841c22e405c0 to your computer and use it in GitHub Desktop.
Function Comp w/ materialized theme/styles
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