Skip to content

Alert types and skins #101

@DanWebb

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.

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