DatePicker.date-selector
Components
DateSelector()
DateSelector(
props
,context
?):ReactNode
Parameters
Parameter | Type |
---|---|
props | DateSelectorProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-core/src/components/DatePicker/date-selector.tsx:24
Interfaces
DateSelectorProps
Properties
Property | Type |
---|---|
compareDate | (currentDay : any , secondDay ?: any ) => boolean |
firstDate | Date |
handleMonthSelectToggle | () => void |
month | number |
secondDate | Date |
setFirstDate | Dispatch <SetStateAction <Date >> |
setMonth | Dispatch <SetStateAction <number >> |
setSecondDate | Dispatch <SetStateAction <Date >> |
setSelectedDates | (date : Date ) => void |
setYear | Dispatch <SetStateAction <number >> |
year | number |