Notification component
A Notification display component
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { Notification } from '@wethecurious/wtc-ui-library'
<Notification
isTop={true}
label='Modal label'
>
<p>Content for notification</p>
<p>Content for notification 2</p>
</Notification>
Props
Prop | Description | Default |
---|---|---|
isModal | Sets the component as a modal | false |
isTop | Pins the notification to top of screen | |
isVisible | Sets the visibility of the component | |
status | Status of notification | |
label | Label for notification |