Skip to main content
Version: 8.10.1

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​

ParameterType
dayundefined | Date

Returns​

void

Source​

src/hooks/useInput/useInput.ts:74