Alert
Alert component for feedback.
#
When To Use- When you need to show alert messages to users.
- When you need a persistent static container which is closable by user actions.
#
Examples#
BasicInfo Text
#
With typeInfo Text
Success Text
Warning Text
Error Text
#
With closableInfo Text
#
APIProperty | Description | Type | Default |
---|---|---|---|
closable | boolean | false | |
type | 'info' | 'success' | 'error' | 'warning' | 'info' | |
message | ReactNode | ||
onClose | () => void | ||
onClosed | () => void |