Skip to main content

AlertDismissable

AlertDismissable Component

This component is a simple alert that can be dismissed.

Props

PropTypeDescription
titlestringTitle of the alert
childrenReact.ReactNodeContent of the alert
showbooleanWhether to show the alert

Example Usage

import AlertDismissable from '@site/src/components/AlertDismissable';

<AlertDismissable title="Alert Title" show={true}>
This is an alert message.
</AlertDismissable>