We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mui custom themes not working with Typescript:
declare module "@mui/material/styles" { interface TypographyVariants { h1Bold: React.CSSProperties; } // allow configuration using `createTheme` interface TypographyVariantsOptions { h1Bold?: React.CSSProperties; } } // Update the Typography's variant prop options declare module "@mui/material/Typography" { interface TypographyPropsVariantOverrides { h1Bold: true; } }
from documentation: https://mui.com/material-ui/customization/typography/#adding-amp-disabling-variants
However, it doesn't work.
Also referenced here: mui/material-ui#15573 and
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
Mui custom themes not working with Typescript:
from documentation: https://mui.com/material-ui/customization/typography/#adding-amp-disabling-variants
However, it doesn't work.
Also referenced here: mui/material-ui#15573 and
The text was updated successfully, but these errors were encountered: