smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Calendar

DayView

Full event list for a specific day with optional weather.

Public export

typescript
import { DayView } from '@happyvertical/smrt-ui/calendar';
Import path
@happyvertical/smrt-ui/calendar
Props
5
Props described
5 of 5
Bindable state
0
Callback events
1
Verified release
0.62.10

Props

NameTypeRequiredDescription
dateDateYesDate to display events for in this view.
eventsDayEventDetail[] | nullNoEvents occurring on the specified date, or null if none exist.
forecastDayForecast | nullNoWeather forecast data for the date, or null if unavailable.
calendarUrlstringNoURL for the back link to return to calendar view.
onEventClick(eventType: string, eventName: string) => voidNoCallback when an event card is clicked

Bindable state

This component has no bindable public state.

Callback events

  • onEventClick(eventType: string, eventName: string) => void

Examples and explanation