Wrapper
The Alert component wrapper.
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'
β
hideIcon
boolean
β
Last updated