nylas-notification
Overview
The nylas-notification component is a UI component that displays notifications.
| Version | 2.2.4 |
| Install (React) | npm install @nylas/react |
| Import (React) | import { NylasNotification } from '@nylas/react'; |
| Import (CDN) | You do not need to individually import the component, just import the parent component either nylas-scheduling or nylas-scheduler-editor. |
Example
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
allowedCategories | string[] | ['component', 'api', 'validation', 'invalid_session'] | ||
ttl | The time-to-live for notifications in milliseconds. Set to ‘none’ to disable auto-dismissal. | "none" | number | 5000 |
Built with StencilJS