mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Fixed Picker props type
This commit is contained in:
Vendored
+3
-3
@@ -546,15 +546,15 @@ export interface PickerProps extends GridChildrenProps, Label, Stretchy {
|
||||
/**
|
||||
* When a *non-editable* Picker is changed. The current selection is passed as an argument.
|
||||
*/
|
||||
onSelect?: (selection: string) => void;
|
||||
onSelect?: (selection: number) => void;
|
||||
/**
|
||||
* What element is selected if the picker *is not* editable.
|
||||
*/
|
||||
selected?: boolean;
|
||||
selected?: number;
|
||||
/**
|
||||
* What text is selected/typed if the picker *is* editable.
|
||||
*/
|
||||
text?: boolean;
|
||||
text?: string;
|
||||
/**
|
||||
* Whether the Picker can be seen.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user