Skip to content

Alert types and skins #101

Description

@DanWebb

The Alert component, used to use a type prop to decide which alert variation should display.

It's now wrapped in a Skin and the type prop has no use.

Should we remove the type prop?

Or replace it with a skin prop, that applies the right skin without depending on the skin component? The dependency on the <Skin> component isn't immediately clear to me but the prop is.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions