Skip to main content

Interface: DayPickerSingle#

The props for the DayPicker component when using single selection mode.

Properties#

defaultSelected#

Optional defaultSelected: Date

The default selected day.


mode#

Optional mode: single


onSelect#

Optional onSelect: SelectSingleEventHandler

Event fired when a day is selected.


required#

Optional required: boolean

When set, user cannot unselect days.