Last active
July 17, 2020 10:57
-
-
Save weaponsforge/0cb1b6fa55cde0ca283e07f176c1a3b6 to your computer and use it in GitHub Desktop.
minimal material-ui react component template
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 from 'react' | |
import clsx from 'clsx' | |
import PropTypes from 'prop-types' | |
import { makeStyles } from '@material-ui/core/styles' | |
const useStyles = makeStyles(theme => ({ | |
container: { | |
backgroundColor: 'palegreen' | |
} | |
})) | |
function Component () { | |
const classes = useStyles() | |
return ( | |
<div className={classes.container}> | |
Minimal Component | |
</div> | |
) | |
} | |
EmptyPlaceholder.propTypes = {} | |
export default EmptyPlaceholder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment