From fead5f449c99f08fe6185081095b07cd176745a7 Mon Sep 17 00:00:00 2001 From: khanhas Date: Mon, 18 Jun 2018 19:50:38 +0700 Subject: [PATCH] Fixed Picker props type --- types/proton-native/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/proton-native/index.d.ts b/types/proton-native/index.d.ts index c3521ede1e..62aa0dce25 100644 --- a/types/proton-native/index.d.ts +++ b/types/proton-native/index.d.ts @@ -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. */