Alert
Alert component allows you to display various type of information.
Examples
An error Alert :
There is an error
A success Alert :
Success
An information Alert :
Information
A warning Alert :
Warning
Theme
Props
Name | Type | Default value | Description |
---|---|---|---|
children | node | null | Content of the Alert. |
variant | enum | 'success' | Type of alert. |