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

Add Typography prop disabled #18716

Closed
1 task done
adamsr123 opened this issue Dec 7, 2019 · 1 comment
Closed
1 task done

Add Typography prop disabled #18716

adamsr123 opened this issue Dec 7, 2019 · 1 comment
Labels
component: Typography The React component.

Comments

@adamsr123
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

If we give the Typography a prop of disabled, this will be shown as a disabled label.

Examples 🌈

Code example

<Typography disabled variant="body1">
         Example
 </Typography>

How would it change the text?

m

instead of

mm

Motivation 🔦

I'm making a question in a form where some of the answers you will need to fill more than just a text field.
Therefore, if someone chooses question one, then question two and three are disabled.
If someone chooses question two and needs to fill the date, then the text fields (and labels) are disabled.

mmm

@oliviertassinari
Copy link
Member

I think that it will come with #15561.

@zannager zannager added the component: Typography The React component. label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Typography The React component.
Projects
None yet
Development

No branches or pull requests

3 participants