@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 | |
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 | |
Prop | Type | required | default | Description |
---|
children | node | false | null | |
Links