mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #24685 from timwangdev/patch-1
[react-native-vector-icons] Add hasIcon static method
This commit is contained in:
+3
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user