Closed angeloashmore closed 11 months ago
This PR adds a development-only warning when a className prop is passed to the following components:
className
<PrismicRichText>
<PrismicText>
These components do not support a className prop, but their purpose suggests they do.
See the classname-is-not-a-valid-prop.md message for more details.
classname-is-not-a-valid-prop.md
🐝
Types of changes
Description
This PR adds a development-only warning when a
className
prop is passed to the following components:<PrismicRichText>
<PrismicText>
These components do not support a
className
prop, but their purpose suggests they do.See the
classname-is-not-a-valid-prop.md
message for more details.Checklist:
🐝