Skip to content

Commit

Permalink
[docs] makeStyles doesn't have access to the component's name (mui#19474
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hesto2 authored and EsoterikStare committed Feb 13, 2020
1 parent 702a838 commit 1cd8a5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/src/pages/styles/api/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Use the function signature if you need to have access to the theme. It's provide
2. `options` (*Object* [optional]):
- `options.defaultTheme` (*Object* [optional]): The default theme to use if a theme isn't supplied through a Theme Provider.
- `options.name` (*String* [optional]): The name of the style sheet. Useful for debugging.
If the value isn't provided, it will try to fallback to the name of the component.
- `options.flip` (*Boolean* [optional]): When set to `false`, this sheet will opt-out the `rtl` transformation. When set to `true`, the styles are inversed. When set to `null`, it follows `theme.direction`.
- The other keys are forwarded to the options argument of [jss.createStyleSheet([styles], [options])](https://cssinjs.org/jss-api/#create-style-sheet).

Expand Down

0 comments on commit 1cd8a5d

Please sign in to comment.