From bd86620cec963b327f1bbd50dd18994e4322d720 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Fri, 20 Dec 2019 15:48:38 +0900 Subject: [PATCH] [react-native-vector-icons]: Add Nested class type for FontAwesome5 (#41007) * [react-native-vector-icons]: Add Nested class type for FontAwesome5 Icons * [react-native-vector-icons]: Remove unneeded imports * [react-native-vector-icons]: Fix lint --- types/react-native-vector-icons/FontAwesome5.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/react-native-vector-icons/FontAwesome5.d.ts b/types/react-native-vector-icons/FontAwesome5.d.ts index 79c77ff0e2..4d05164cfe 100644 --- a/types/react-native-vector-icons/FontAwesome5.d.ts +++ b/types/react-native-vector-icons/FontAwesome5.d.ts @@ -40,4 +40,8 @@ export default class FontAwesome5Icon extends Component< ): Promise; static loadFont(file?: string): Promise; static hasIcon(name: string): boolean; + static ToolbarAndroid: typeof Icon.ToolbarAndroid; + static TabBarItem: typeof Icon.TabBarItem; + static TabBarItemIOS: typeof Icon.TabBarItemIOS; + static Button: typeof Icon.Button; }