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

[ListItemText] Add extra class to style secondary text #9223

Closed
TheHolyWaffle opened this issue Nov 18, 2017 · 0 comments
Closed

[ListItemText] Add extra class to style secondary text #9223

TheHolyWaffle opened this issue Nov 18, 2017 · 0 comments
Labels
component: list This is the name of the generic UI component, not the React module! new feature New feature or request

Comments

@TheHolyWaffle
Copy link
Contributor

Currently, you can only provide the secondary property to a ListItemText component. It would be handy if an extra class was added to it so that it can be customized externally. Something like classes.secondary.

Right now, it's not possible to style it externally, The only workaround is to set disableTypography to true and to pass a Typography object ourselves, which is cumbersome.

Tech Version
Material-UI v1.0.0-beta.21
React 16.1.1
@oliviertassinari oliviertassinari added component: list This is the name of the generic UI component, not the React module! waiting for 👍 Waiting for upvotes new feature New feature or request and removed waiting for 👍 Waiting for upvotes labels Nov 18, 2017
@oliviertassinari oliviertassinari changed the title [ListItemText] Suggestion to add extra class to style secondary text [ListItemText] Add extra class to style secondary text Jan 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: list This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants