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
The Text component should not take the prop color but instead throw a type error. I keep using color instead of fontColor because I'm silly and I never get an error, but I don't get the result I expect either 🙁 The prop type comes from the fact that we're extending the default HTML attributes. We should probably Omitcolor.
Forma 36 bug report
Summary
The
Text
component should not take the propcolor
but instead throw a type error. I keep usingcolor
instead offontColor
because I'm silly and I never get an error, but I don't get the result I expect either 🙁 The prop type comes from the fact that we're extending the default HTML attributes. We should probablyOmit
color
.Example: https://f36.contentful.com/playground?code=N4Igxg9gJgpiBcICWBbADhATgFwATFwDEAbGADwBpcAVcvAX1wDNMIVcByAAUgDtsY-JgFdiAeiYBmAGwBaSOgi9B2AM4cA3AB1eO8hhy5YTAIai8I3mGxIluAIJo0ACgCU+HblyYY2YZl5cAB4ScmZSMgARJB9rW14AXi1wCGJhFF0QAD5PL2DaMjxIYiwkkB8oAFYABmrkrIBJXFUACwhRKFxsFtYAd1wTLoBPNBhcGExWTABCILEC7BzAvKCF5iVsAGFU0uSKmrrsptb24k6AIzGK2fm6Ja850LIl+hB6IA
The text was updated successfully, but these errors were encountered: