From 8a99a481344781f9ab06f6baacf445093c77e606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilker=20G=C3=BCller?= <694940+Sly777@users.noreply.github.com> Date: Fri, 28 Sep 2018 11:58:02 +0200 Subject: [PATCH] [react-native-vector-icons] Added FontName and FontFile Support [react-native-vector-icons] Added FontName and FontFile Support --- types/react-native-vector-icons/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react-native-vector-icons/index.d.ts b/types/react-native-vector-icons/index.d.ts index 6aabaadd70..01f680220a 100644 --- a/types/react-native-vector-icons/index.d.ts +++ b/types/react-native-vector-icons/index.d.ts @@ -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;