Toast
Toast provides non-blocking, lightweight feedback for user interactions such as create / update / delete operations.
Prop | Type | Default value |
---|---|---|
Prop type | Type "default" | "success" | "warning" | "danger" | Default value "default" |
Prop title | Type string | Default value - |
Prop description | Type ReactNode | Default value - |
Prop duration | Type number | Default value 5000 |
Prop actions | Type Array<ButtonProps & { altText: string }> | Default value [] |