nylas-selected-event-card
Overview
The nylas-selected-event-card
component is a UI component that displays the selected event card.
Version | 1.1.0-canary.14 |
Install (React) | npm install @nylas/react |
Import (React) | import { NylasSelectedEventCard } from '@nylas/react'; |
Example
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
selectedDate | — | The selected date. | Date | undefined | undefined |
selectedTimeslot | — | The selected time. | undefined | { start_time: Date; end_time: Date; } | undefined |
selectedTimezone | selected-timezone | * The selected timezone. | string | Intl.DateTimeFormat().resolvedOptions().timeZone |
Shadow Parts
Part | Description |
---|---|
"nsec" | The selected event card component. |
"nsec__card" | The card component. |
"nsec__date" | The date selected. |
"nsec__icon" | The calendar icon. |
"nsec__time" | The timeslot selected. |
"nsec__timezone" | The timezone selected. |
Built with StencilJS