Notification - Keep React
Table of Contents#
Default Notification#
Display informative messages or alerts to users with the Default Notification component in Keep React.
Notification With Card#
Enhance the Notification component with a card layout for a more visually appealing display.
Notification Position#
Position notifications according to your preference with available options: "top-left"
, "top-right"
, "bottom-left"
, "bottom-right"
. Default position is "bottom-right"
.
API Reference#
Explore the available props for the Notification component.
Property | Description | Type | Default |
---|---|---|---|
isOpen | Notification show or not. | boolean | false |
onOpenChange | Function to call when the notification is dismissed. | setState | Null |
position | Sets the position of the notification. | top-left top-right bottom-left bottom-right center | bottom-right |