Prop | Description | Type | Default |
---|---|---|---|
color | Sets the color scheme of the alert box. | 'primary' | 'success' | 'warning' | 'green' | 'info' |
icon | Adds a custom icon to the alert box. | 'HiInformationCircle' | - |
onDismiss | Callback function triggered when the dismiss button is clicked. | onDismiss={() => alert('Alert dismissed!')} | - |
rounded | Applies rounded corners to the alert box. | boolean | false |
withBorderAccent | Adds a border accent to the alert box. | boolean | false |
additionalContent | Allows additional content to be added inside the alert box. | React.ReactNode | null |