Wrapper
The Alert component wrapper.
This is a compound component.
API
This component extends the animated div component
tag props. This means this component can receive the react-spring native animated.div
props, for example, the className
attribute (which is why it's not included in the table).
Props
Type
Required
children
ReactNode
✅
isOpen
boolean
heading
string
variant
'info' | 'warning' | 'danger' | 'default'
icon
hideIcon
boolean
Last updated