Skip to content

Commit

Permalink
[docs] Explain mini-theme example (#20339)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimgm authored Mar 30, 2020
1 parent 67e1d57 commit 4573dcf
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 new theme. See the [theming section](/customization/theming/) for how to customize the default Material-UI theme.
> 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 4573dcf

Please sign in to comment.