@paprika/notification-card
v1.1.0
Published
Notification Card component
Readme
@paprika/notification-card
Description
Notification Card component
Installation
yarn add @paprika/notification-cardor with npm:
npm install @paprika/notification-cardProps
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|[ align.TOP, align.CENTER]|false|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| |
