Skip to content

Instantly share code, notes, and snippets.

@ryansutc
Last active July 29, 2019 05:14
Show Gist options
  • Save ryansutc/2fa099329bbfd0ba3c054efb96f61cb1 to your computer and use it in GitHub Desktop.
Save ryansutc/2fa099329bbfd0ba3c054efb96f61cb1 to your computer and use it in GitHub Desktop.
Material UI Notes

React Material UI Notes & Links

Material UI Elements:

  • : The most basic UI element. Centers content horizontally.
  • : An element that isolates/wraps css styles.
  • : allows page layout grid control on 12-column grid layout. e.g.: <Grid item xs={12} sm={6}><Paper className={classes.paper}>Test</Paper>

Material UI Properties:

item: pass the item property to components inside a container component so that they become items.

component: property that allows

container: property that allows component to become a container. It holds items. A component can be both a container or an item.

variant:

withStyles(styles):

Boilerplate Steps:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment