The Chip variant default value default does not follow the general api of standard.
Summary 💡
Many components use the variant value standard as default value (e.g. TextField, Tabs, Badge).
For some reason, the Chip component uses the value default instead (types, PropTypes).
I think this should be changed from default to standard or filled.
Fixing this would be a breaking change without much gain.
Is it worth the trouble?
Should this be normalized somewhere, so it's less likely to happen again?
Additional context
The PR, that introduced the variant prop: #12680
The Chip variant default value
defaultdoes not follow the general api ofstandard.Summary 💡
Many components use the
variantvaluestandardas default value (e.g. TextField, Tabs, Badge).For some reason, the Chip component uses the value
defaultinstead (types, PropTypes).I think this should be changed from
defaulttostandardorfilled.Fixing this would be a breaking change without much gain.
Is it worth the trouble?
Should this be normalized somewhere, so it's less likely to happen again?
Additional context
The PR, that introduced the
variantprop: #12680