nylas-notification
Overview
The nylas-notification
component is a UI component that displays notifications.
Version | 1.1.0-canary.14 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasNotification } from '@nylas/react'; |
Example
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
allowedCategories | — | string[] | ['component', 'api', 'validation', 'invalid_session'] | |
ttl | ttl | The time-to-live for notifications in milliseconds. Set to ‘none’ to disable auto-dismissal. | "none" | number | 5000 |
Built with StencilJS