Interface: DayPickerDefaultProps
The props for the DayPicker component when using mode="default"
or
undefined
.
Extendsβ
Propertiesβ
ISOWeek?β
optional
ISOWeek:boolean
Use ISO week dates instead of the locale setting. Setting this prop will ignore weekStartsOn and firstWeekContainsDate.
Seeβ
https://en.wikipedia.org/wiki/ISO_week_date
Inherited fromβ
Sourceβ
src/types/DayPickerBase.ts:200
captionLayout?β
optional
captionLayout:CaptionLayout
Change the layout of the caption:
buttons
: display prev/right buttonsdropdown
: display drop-downs to change the month and the year
Note: the dropdown
layout is available only when fromDate
,
fromMonth
orfromYear
and toDate
, toMonth
or toYear
are set.
Default Valueβ
buttons