The withStyles function in particular is what would generally receive the styles variable as a parameter and then take care of injecting the theme.You need to understand how the CSS-in-JS aspects work to understand how the styles variable would be used.This is the main documentation on themes.The Material-UI documentation covers this pretty thoroughly, but there are a few different parts of the documentation necessary to understand the code you posted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |