Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[styles] Add options definitions for makeStyles #13721

Merged
merged 2 commits into from
Nov 28, 2018

Conversation

eps1lon
Copy link
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 bug 🐛 Something doesn't work typescript package: 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
bug 🐛 Something doesn't work package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants