File size: 531 Bytes
cf86710 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Function: useInput()
> **useInput**(`options`): [`UseInputValue`](../interfaces/UseInputValue.md)
Return props and setters for binding an input field to DayPicker.
## Parameters
| Parameter | Type |
| :------ | :------ |
| `options` | [`UseInputOptions`](../interfaces/UseInputOptions.md) |
## Returns
[`UseInputValue`](../interfaces/UseInputValue.md)
## Source
[src/hooks/useInput/useInput.ts:78](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/hooks/useInput/useInput.ts#L78)
|