From 90e67888c40bcf36eddb66f3071ef860cb4c0ca2 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Sat, 28 Sep 2019 08:34:08 +0900 Subject: [PATCH] [react-native-vector-icons] fix: Icon style (#38639) --- types/react-native-vector-icons/Icon.d.ts | 2 +- types/react-native-vector-icons/index.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-native-vector-icons/Icon.d.ts b/types/react-native-vector-icons/Icon.d.ts index 349918cd1f..fd41986fdf 100644 --- a/types/react-native-vector-icons/Icon.d.ts +++ b/types/react-native-vector-icons/Icon.d.ts @@ -55,7 +55,7 @@ export interface IconButtonProps extends IconProps, TouchableHighlightProps, Tou * * @default {marginRight: 10} */ - iconStyle?: ViewStyle; + iconStyle?: TextStyle; /** * Style prop inherited from TextProps and TouchableWithoutFeedbackProperties diff --git a/types/react-native-vector-icons/index.d.ts b/types/react-native-vector-icons/index.d.ts index 1587e86b7b..3336eb19b4 100644 --- a/types/react-native-vector-icons/index.d.ts +++ b/types/react-native-vector-icons/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Kyle Roach // Tim Wang // Robert Ying +// Jesse Katsumata // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8