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

Documentation: Typography variant #13190

Closed
JarLowrey opened this issue Oct 10, 2018 · 4 comments · May be fixed by akashmitra/material-ui#39
Closed

Documentation: Typography variant #13190

JarLowrey opened this issue Oct 10, 2018 · 4 comments · May be fixed by akashmitra/material-ui#39
Labels
component: Typography The React component. support: question Community support but can be turned into an improvement

Comments

@JarLowrey
Copy link

JarLowrey commented Oct 10, 2018

  • [ x] This is not a v0.x issue.
  • [x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Docs state "h3" variant can be used - https://material-ui.com/api/typography/

Current Behavior

console prints error

Warning: Failed prop type: Invalid prop `variant` of value `h3` supplied to `Typography`, expected one of ["display4","display3","display2","display1","headline","title","subheading","body2","body1","caption","button"].
Tech Version
Material-UI v1.5.0
@JarLowrey
Copy link
Author

I think I'm just out of date, closing until I confirm

@JarLowrey
Copy link
Author

Upgraded to 3.2.0 and it's still there

@JarLowrey JarLowrey reopened this Oct 10, 2018
@eps1lon
Copy link
Member

eps1lon commented Oct 10, 2018

With the same warning? Looks like you have still a version before 3.2.0 in your dependency tree. Could you remove node_modules and install again? If you still have the same error pleas add you lockfile and prepare a minimal reproduction.

@oliviertassinari
Copy link
Member

Warning: Failed prop type: Invalid prop variant of value h3 supplied to Typography, expected one of ["display4","display3","display2","display1","headline","title","subheading","body2","body1","caption","button"].

@JarLowrey You are definitely not using v3.2.0. Check your node modules :)

@oliviertassinari oliviertassinari added support: question Community support but can be turned into an improvement component: Typography The React component. labels Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Typography The React component. support: question Community support but can be turned into an improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants