nylas-notification

Overview

The nylas-notification component is a UI component that displays notifications.

Version1.3.3
Install (React)npm install @nylas/react
Import (React)import { NylasNotification } from '@nylas/react';
Import (CDN)<script type="module"> import { defineCustomElement } from "https://cdn.jsdelivr.net/npm/@nylas/web-elements@latest/dist/cdn/nylas-notification/nylas-notification.es.js"; defineCustomElement(); </script>

Example


Properties

PropertyAttributeDescriptionTypeDefault
allowedCategoriesstring[]['component', 'api', 'validation', 'invalid_session']
ttlThe time-to-live for notifications in milliseconds. Set to ‘none’ to disable auto-dismissal."none" | number5000

Built with StencilJS