Notifications
No notifications
ReferenceError: React is not definedWith notifications
ReferenceError: React is not definedNotification sizing
ReferenceError: React is not definedNo alerts
ReferenceError: React is not definedWith alerts
ReferenceError: React is not definedIf you want to customize the notification dropdown, you can use className to
add a modifier class to the btn-group. id and style will be applied to
the notification button.
Props
Notifications/AlertNotifications props
| Property | Required | Type | Default | Description |
|---|---|---|---|---|
size | no | oneOf('h1', 'h2', 'h3', 'h4', 'h5', 'h6') | Size of the notification |
Imports
Import React components (including CSS):
import {Notifications, AlertNotifications, NotificationItem} from 'pivotal-ui/react/notifications';
Import CSS only:
import 'pivotal-ui/css/notifications';