-
Notifications
You must be signed in to change notification settings - Fork 832
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
Allow components to be styled using classnames #578
Comments
I am actually aware of that because this is such a giant bunch of work. |
I see that the components have a name defined: https://github.com/dmtrKovalenko/material-ui-pickers/blob/bdd7c1de801809a7798c55316a250cb9845e5fd2/lib/src/TimePicker/components/Clock.tsx#L172 You should get this feature for free when you upgrade to Material-UI v4.0.0-beta.0. It was implemented in mui/material-ui#15140. |
@oliviertassinari it will leverage displayName? |
@dmtrKovalenko It uses the style sheet |
@oliviertassinari ohh, I got what you mean :) |
Rereading the issue description, it seems that people are interested in having an API where they can provide a |
Any update on this? Would be really great to have a |
I think that we are good on this one. In v5, we are pushing global class names and the |
Environment
Steps to reproduce
Expected behavior
As well as allowing users to style components using themes, material-ui allows users to pass in classnames which can be used to override the styles of components (see https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Button/Button.d.ts). This is extremely beneficial for stacks which aren't using themes.
Actual behavior
Picker components can only be styled using a MaterialUI theme.
The text was updated successfully, but these errors were encountered: