From 20dc0c145231468787f9c19b34d499eca4b50ea4 Mon Sep 17 00:00:00 2001 From: Adam Goldman Date: Mon, 11 Apr 2022 05:03:41 +0300 Subject: [PATCH] Support passing classname to itemStyle the `itemStyle` prop also works with passing a class name --- typings/Picker.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/Picker.d.ts b/typings/Picker.d.ts index e62cdf2f42..cee1aea787 100644 --- a/typings/Picker.d.ts +++ b/typings/Picker.d.ts @@ -68,7 +68,7 @@ export interface PickerProps extends ViewProps { * Style to apply to each of the item labels. * @platform ios */ - itemStyle?: StyleProp; + itemStyle?: StyleProp | string; /** * Prompt string for this picker, used on Android in dialog mode as the title of the dialog. * @platform android