@paprika/notification-card
v1.0.22
Published
Notification Card component
Downloads
6,217
Keywords
Readme
@paprika/notification-card
Description
Notification Card component
Installation
yarn add @paprika/notification-card
or with npm:
npm install @paprika/notification-card
Props
NotificationCard
| Prop | Type | required | default | Description | | -------- | ------ | -------- | ------- | ------------------------------------------- | | children | node | false | null | | | maxWidth | string | false | null | Dictates the maximum width of the component |
NotificationCard.Image
| Prop | Type | required | default | Description | | -------- | ------------------------------------------------------------------------ | -------- | -------------------------------- | -------------------------------- | | align | [ NotificationCard.types.align.TOP, NotificationCard.types.align.CENTER] | false | NotificationCard.types.align.TOP | Aligns the position of the image | | children | node | false | null | |
NotificationCard.Header
| Prop | Type | required | default | Description | | -------- | ------------------- | -------- | ------- | ------------------------------- | | children | node | false | null | | | level | [ 1, 2, 3, 4, 5, 6] | true | - | Heading level(1-6) is required. |
NotificationCard.Body
| Prop | Type | required | default | Description | | -------- | ---- | -------- | ------- | ----------- | | children | node | false | null | |
NotificationCard.Footer
| Prop | Type | required | default | Description | | -------- | ---- | -------- | ------- | ----------- | | children | node | false | null | |