File size: 1,407 Bytes
cf86710
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Interface: UseInputValue

Represent the value returned by [useInput](../functions/useInput.md).

## Properties

### dayPickerProps

> **dayPickerProps**: [`InputDayPickerProps`](../type-aliases/InputDayPickerProps.md)

The props to pass to a DayPicker component.

#### Source

[src/hooks/useInput/useInput.ts:68](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/hooks/useInput/useInput.ts#L68)

***

### inputProps

> **inputProps**: [`InputProps`](../type-aliases/InputProps.md)

The props to pass to an input field.

#### Source

[src/hooks/useInput/useInput.ts:70](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/hooks/useInput/useInput.ts#L70)

***

### reset()

> **reset**: () => `void`

A function to reset to the initial state.

#### Returns

`void`

#### Source

[src/hooks/useInput/useInput.ts:72](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/hooks/useInput/useInput.ts#L72)

***

### setSelected()

> **setSelected**: (`day`) => `void`

A function to set the selected day.

#### Parameters

| Parameter | Type |
| :------ | :------ |
| `day` | `undefined` \| `Date` |

#### Returns

`void`

#### Source

[src/hooks/useInput/useInput.ts:74](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/hooks/useInput/useInput.ts#L74)