Selector
component is rendered to the top of calendar. It allows changing calendar precision (setPrecision
) and stepping months (incrementMonth
, decrementMonth
). Replace it with custom component.
Demo datepicker
Jan 6th
<Selector />
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Props
selectedTimestamp
number
required
todayTimestamp
number
required
visibleTimestamp
number
required
renderAs
elementType
required
startDate
Class(Date)
required
endDate
Class(Date)
required
precision
'year' │ 'month' │ 'day'
required