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