s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Calendar

DayView

No summary has been written for DayView. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

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.44.0

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