Interface: UseInputOptions
Extends
Pick<DayPickerBase,"locale"|"fromDate"|"toDate"|"fromMonth"|"toMonth"|"fromYear"|"toYear"|"today">
Properties
defaultSelected?
optionaldefaultSelected:Date
The initially selected date
Source
src/hooks/useInput/useInput.ts:53
format?
optionalformat:string
The format string for formatting the input field. See https://date-fns.org/docs/format for a list of format strings.
Default Value
PP
Source
src/hooks/useInput/useInput.ts:60
fromDate?
optionalfromDate:Date
The earliest day to start the month navigation.
Inherited from
Pick.fromDate
Source
src/types/DayPickerBase.ts:103
fromMonth?
optionalfromMonth:Date
The earliest month to start the month navigation.
Inherited from
Pick.fromMonth
Source
src/types/DayPickerBase.ts:107
fromYear?
optionalfromYear:number
The earliest year to start the month navigation.
Inherited from
Pick.fromYear
Source
src/types/DayPickerBase.ts:111
locale?
optionallocale:Locale
The date-fns locale object used to localize dates.
Default Value
en-US
Inherited from
Pick.locale
Source
src/types/DayPickerBase.ts:246
required?
optionalrequired:boolean
Make the selection required.
Source
src/hooks/useInput/useInput.ts:62
toDate?
optionaltoDate:Date
The latest day to end the month navigation.
Inherited from
Pick.toDate
Source
src/types/DayPickerBase.ts:105
toMonth?
optionaltoMonth:Date
The latest month to end the month navigation.
Inherited from
Pick.toMonth
Source
src/types/DayPickerBase.ts:109
toYear?
optionaltoYear:number
The latest year to end the month navigation.
Inherited from
Pick.toYear
Source
src/types/DayPickerBase.ts:113
today?
optionaltoday:Date
The today’s date. Default is the current date. This Date will get the
today modifier to style the day.
Inherited from
Pick.today