You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a Typograpgy component with the genericFontFamily property, a browser consoles shows this error
Warning: React does not recognize the `genericFontFamily` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `genericfontfamily` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
I can remove the error if I pick up genericFontFamily from Typography.tsx as below but not sure if this could have a side effect.
When using a Typograpgy component with the
genericFontFamily
property, a browser consoles shows this errorI can remove the error if I pick up
genericFontFamily
from Typography.tsx as below but not sure if this could have a side effect.The text was updated successfully, but these errors were encountered: