Skip to content

[Chip] variant default value #18914

Closed
@LorenzHenk

Description

@LorenzHenk

The Chip variant default value default does not follow the general api of standard.

  • I have searched the issues of this repository and believe that this is not a duplicate.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changecomponent: chipThis is the name of the generic UI component, not the React module!

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions