Calendar
Visual calendar for date selection.
Props
max
string
The maximum selectable date in YYYY-MM-DD format. Defaults to 5 years in the future.
min
string
The minimum selectable date in YYYY-MM-DD format. Defaults to 5 years in the past.
name
string
Name identifier for the calendar, included in change events.
testId
string
Sets a data-testid attribute for automated testing.
value
string
The currently selected date value in YYYY-MM-DD format.
mt, mr, mb, ml
Spacing
Apply margin to the top, right, bottom, and/or left of the component.
Events
onChange
(details: GoabCalendarOnChangeDetail) => void
Callback fired when the selected date changes.