Skip to content

Commit

Permalink
Update docs/src/pages/styles/advanced/advanced.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Sebastian Silbermann <silbermann.sebastian@gmail.com>
  • Loading branch information
oliviertassinari and eps1lon authored Mar 30, 2020
1 parent 47ab039 commit b8d1ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/styles/advanced/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Add a `ThemeProvider` to the top level of your app to pass a theme down the React component tree. Then, you can access the theme object in style functions.

> This example creates a minimalist theme object. Head to the [theming section](/customization/theming/) if you intend to use some of the Material-UI's components. You need to provide a richer theme structure using the `createMuiTheme()` method.
> This example creates a theme object for custom-built components. If you intend to use some of the Material-UI's components you need to provide a richer theme structure using the `createMuiTheme()` method. Head to the the [theming section](/customization/theming/) to learn how to build your custom Material-UI theme.
```jsx
import { ThemeProvider } from '@material-ui/core/styles';
Expand Down

0 comments on commit b8d1ada

Please sign in to comment.