Skip to content

Badge color should not have 'automatic' in its typing #1636

@brandongregoryscott

Description

@brandongregoryscott

Related to #1592

The type union for BadgeOwnProps.color should not include automatic.

color?: 'automatic' | 'neutral' | 'blue' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'purple'

I think this was a copy/paste from the Avatar props, since it has a hashing function based on the user's initials. This is what it looks like if you pass automatic currently:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions