Calendar

Props

NameTypeDescription
hasTodayButtonboolean...
maxDateMax available date
minDateMin available date
namestringComponent name
onChange(ev: ChangeEvent) => voidChange handler
shouldRender
boolean
Pass false if you don't want the component to appear
themePartialGlobalDefaultTheme[ typeof COMPONENTS_NAMESPACES.calendar ]...
valueDateSelected date
_[className]
[x: string]: unknown
E.g.: _w-48 adds a css class w-48 to the component's outer wrapper.

<Calendar
  onChange={({ component }) => console.log(component.value)}
/>