Material-ui: Limited Documentation for material-ui/styles and withStyles

Created on 6 Oct 2017  路  3Comments  路  Source: mui-org/material-ui

I have been looking through the documentation and trying to find something defining how to use the material-ui/styles. It is used in several examples but no section in the documentation that defines how to use it and what it capabilities are. I will continue to try and figure it out and ask for help on StackOverflow but i think this would be good to add to the documentation.

docs

Most helpful comment

I did not find anything for createMuiTheme

@stuartsimpson We have an API section about

You have a search bar for your use case:
capture d ecran 2017-10-10 a 08 21 46

Moving forward

What I think we could do to greatly improve the learning curve is building a Learn Material-UI tutorial will all the things most people will need. Next.js has been doing an excellent job with https://learnnextjs.com/. cc @kof as it can provide some inspiration.

All 3 comments

We love feedback like this one but, could you be more specific. What are you trying to do? What do you think we could add in the documentation to help?

After some additional research I found that there is a section under API for MuiThemeProvider but I did not find anything for createMuiTheme. Also under customization there is a Themes section. I like the API section and how it gives a list of Props, CSS API and Demos. It would be nice if there was one for Styles (material-ui/styles) with descriptions of the methods, parameters and classes and references to the examples. listed above. Maybe it should all be under the Style section of the documentation. That was the first place I looked when trying to find information about withStyles. Unfortunately I just started converting my application from 0.18 to 1.x beta and so I am still learning and relying on the docs so take my input with a grain of salt.

I did not find anything for createMuiTheme

@stuartsimpson We have an API section about

You have a search bar for your use case:
capture d ecran 2017-10-10 a 08 21 46

Moving forward

What I think we could do to greatly improve the learning curve is building a Learn Material-UI tutorial will all the things most people will need. Next.js has been doing an excellent job with https://learnnextjs.com/. cc @kof as it can provide some inspiration.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rbozan picture rbozan  路  3Comments

ghost picture ghost  路  3Comments

finaiized picture finaiized  路  3Comments

ericraffin picture ericraffin  路  3Comments

mb-copart picture mb-copart  路  3Comments