Interface: UseInputValue
Represent the value returned by useInput.
Properties
dayPickerProps
• dayPickerProps: InputDayPickerProps
The props to pass to a DayPicker component.
Defined in
src/hooks/useInput/useInput.ts:68
inputProps
• inputProps: InputProps
The props to pass to an input field.
Defined in
src/hooks/useInput/useInput.ts:70
reset
• reset: () => void
Type declaration
▸ (): void
A function to reset to the initial state.
Returns
void
Defined in
src/hooks/useInput/useInput.ts:72
setSelected
• setSelected: (day
: undefined
| Date
) => void
Type declaration
▸ (day
): void
A function to set the selected day.
Parameters
Name | Type |
---|---|
day | undefined | Date |
Returns
void