mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
[react-native-vector-icons] Added FontName and FontFile Support
[react-native-vector-icons] Added FontName and FontFile Support
This commit is contained in:
4
types/react-native-vector-icons/index.d.ts
vendored
4
types/react-native-vector-icons/index.d.ts
vendored
@@ -35,7 +35,7 @@ export function createIconSet(
|
||||
*
|
||||
* @see http://fontello.com
|
||||
*/
|
||||
export function createIconSetFromFontello(config: {}): typeof Icon;
|
||||
export function createIconSetFromFontello(config: {}, fontName?: string, fontFile?: string): typeof Icon;
|
||||
|
||||
/**
|
||||
* Convenience method to create a custom font from IcoMoon
|
||||
@@ -50,4 +50,4 @@ export function createIconSetFromFontello(config: {}): typeof Icon;
|
||||
*
|
||||
* @see https://icomoon.io/app
|
||||
*/
|
||||
export function createIconSetFromIcoMoon(config: {}): typeof Icon;
|
||||
export function createIconSetFromIcoMoon(config: {}, fontName?: string, fontFile?: string): typeof Icon;
|
||||
|
||||
Reference in New Issue
Block a user