File size: 838 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
# Interface: SelectSingleContextValue

Represents the value of a [SelectSingleContext](../variables/SelectSingleContext.md).

## Properties

### onDayClick?

> `optional` **onDayClick**: [`DayClickEventHandler`](../type-aliases/DayClickEventHandler.md)

Event handler to attach to the day button to enable the single select.

#### Source

[src/contexts/SelectSingle/SelectSingleContext.tsx:15](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/SelectSingle/SelectSingleContext.tsx#L15)

***

### selected

> **selected**: `undefined` \| `Date`

The day that has been selected.

#### Source

[src/contexts/SelectSingle/SelectSingleContext.tsx:13](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/SelectSingle/SelectSingleContext.tsx#L13)