We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ce889 commit 66414f9Copy full SHA for 66414f9
packages/@react-types/shared/src/selection.d.ts
@@ -16,7 +16,7 @@ export interface SingleSelection {
16
/** Whether the collection allows empty selection. */
17
disallowEmptySelection?: boolean,
18
/** The currently selected key in the collection (controlled). */
19
- selectedKey?: Key,
+ selectedKey?: Key | null,
20
/** The initial selected key in the collection (uncontrolled). */
21
defaultSelectedKey?: Key,
22
/** Handler that is called when the selection changes. */
0 commit comments