Skip to content

[styles] Add options definitions for makeStyles#13721

Merged
eps1lon merged 2 commits intomui:masterfrom
eps1lon:fix/styles/makeStyles-options
Nov 28, 2018
Merged

[styles] Add options definitions for makeStyles#13721
eps1lon merged 2 commits intomui:masterfrom
eps1lon:fix/styles/makeStyles-options

Conversation

@eps1lon
Copy link
Copy Markdown
Member

@eps1lon eps1lon commented Nov 28, 2018

Closes #13718.

@oliviertassinari I didn't test the withTheme option yet but I think that option is not needed for a hook. The option was previously used to inject the theme into the props. This is should now be done with a useTheme hook.

@eps1lon eps1lon added type: bug It doesn't behave as expected. typescript scope: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. labels Nov 28, 2018
@eps1lon eps1lon force-pushed the fix/styles/makeStyles-options branch from fe68a9e to c6b03de Compare November 28, 2018 11:44
@eps1lon eps1lon merged commit ac0153b into mui:master Nov 28, 2018
@eps1lon eps1lon deleted the fix/styles/makeStyles-options branch November 28, 2018 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. type: bug It doesn't behave as expected. typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants