Merge pull request #24685 from timwangdev/patch-1

[react-native-vector-icons] Add hasIcon static method
This commit is contained in:
Paul van Brenk
2018-04-03 11:00:33 -07:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -157,6 +157,9 @@ export class Icon extends React.Component<IconProps, any> {
static loadFont(
file?: string
): Promise<void>;
static hasIcon(
name: string,
): boolean;
}
export namespace Icon {
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for react-native-vector-icons 4.4
// Type definitions for react-native-vector-icons 4.6
// Project: https://github.com/oblador/react-native-vector-icons
// Definitions by: Kyle Roach <https://github.com/iRoachie>
// Tim Wang <https://github.com/timwangdev>