From 1d47d6d0ef2d26ee1e89fc37d2db74e78cbedffb Mon Sep 17 00:00:00 2001 From: Evan Bacon Date: Wed, 27 Feb 2019 15:43:56 -0800 Subject: [PATCH] Converted to TypeScript * Added lazy build --- .npmignore | 2 + babel.config.build.js | 6 + babel.config.js | 2 + build/AntDesign.d.ts | 54 ++++++++ build/AntDesign.js | 5 + build/AntDesign.js.map | 1 + build/Entypo.d.ts | 54 ++++++++ build/Entypo.js | 5 + build/Entypo.js.map | 1 + build/EvilIcons.d.ts | 54 ++++++++ build/EvilIcons.js | 5 + build/EvilIcons.js.map | 1 + build/Feather.d.ts | 54 ++++++++ build/Feather.js | 5 + build/Feather.js.map | 1 + build/FontAwesome.d.ts | 54 ++++++++ build/FontAwesome.js | 5 + build/FontAwesome.js.map | 1 + build/FontAwesome5.d.ts | 5 + build/FontAwesome5.js | 10 ++ build/FontAwesome5.js.map | 1 + build/Foundation.d.ts | 54 ++++++++ build/Foundation.js | 5 + build/Foundation.js.map | 1 + build/Icons.d.ts | 15 ++ build/Icons.js | 16 +++ build/Icons.js.map | 1 + build/IconsLazy.js | 129 ++++++++++++++++++ build/IconsLazy.js.map | 1 + build/Ionicons.d.ts | 54 ++++++++ build/Ionicons.js | 5 + build/Ionicons.js.map | 1 + build/MaterialCommunityIcons.d.ts | 54 ++++++++ build/MaterialCommunityIcons.js | 5 + build/MaterialCommunityIcons.js.map | 1 + build/MaterialIcons.d.ts | 54 ++++++++ build/MaterialIcons.js | 5 + build/MaterialIcons.js.map | 1 + build/Octicons.d.ts | 54 ++++++++ build/Octicons.js | 5 + build/Octicons.js.map | 1 + build/SimpleLineIcons.d.ts | 54 ++++++++ build/SimpleLineIcons.js | 5 + build/SimpleLineIcons.js.map | 1 + build/Zocial.d.ts | 54 ++++++++ build/Zocial.js | 5 + build/Zocial.js.map | 1 + build/createIconSet.d.ts | 54 ++++++++ build/createIconSet.js | 52 +++++++ build/createIconSet.js.map | 1 + build/createIconSetFromFontello.d.ts | 1 + build/createIconSetFromFontello.js | 5 + build/createIconSetFromFontello.js.map | 1 + build/createIconSetFromIcoMoon.d.ts | 1 + build/createIconSetFromIcoMoon.js | 5 + build/createIconSetFromIcoMoon.js.map | 1 + build/iconFontSources.d.ts | 0 build/iconFontSources.js | 10 ++ build/iconFontSources.js.map | 1 + index.js | 47 ------- package.json | 22 ++- AntDesign.js => src/AntDesign.ts | 0 Entypo.js => src/Entypo.ts | 0 EvilIcons.js => src/EvilIcons.ts | 0 Feather.js => src/Feather.ts | 0 FontAwesome.js => src/FontAwesome.ts | 0 FontAwesome5.js => src/FontAwesome5.tsx | 0 Foundation.js => src/Foundation.ts | 0 src/Icons.ts | 15 ++ Ionicons.js => src/Ionicons.ts | 0 .../MaterialCommunityIcons.ts | 0 MaterialIcons.js => src/MaterialIcons.ts | 0 Octicons.js => src/Octicons.ts | 0 SimpleLineIcons.js => src/SimpleLineIcons.ts | 0 Zocial.js => src/Zocial.ts | 0 createIconSet.js => src/createIconSet.tsx | 32 ++--- .../createIconSetFromFontello.ts | 0 .../createIconSetFromIcoMoon.ts | 0 {fonts => src/fonts}/AntDesign.ttf | Bin {fonts => src/fonts}/Entypo.ttf | Bin {fonts => src/fonts}/EvilIcons.ttf | Bin {fonts => src/fonts}/Feather.ttf | Bin {fonts => src/fonts}/FontAwesome.ttf | Bin {fonts => src/fonts}/FontAwesome5_Brands.ttf | Bin {fonts => src/fonts}/FontAwesome5_Regular.ttf | Bin {fonts => src/fonts}/FontAwesome5_Solid.ttf | Bin {fonts => src/fonts}/Foundation.ttf | Bin {fonts => src/fonts}/Ionicons.ttf | Bin .../fonts}/MaterialCommunityIcons.ttf | Bin {fonts => src/fonts}/MaterialIcons.ttf | Bin {fonts => src/fonts}/Octicons.ttf | Bin {fonts => src/fonts}/SimpleLineIcons.ttf | Bin {fonts => src/fonts}/Zocial.ttf | Bin iconFontSources.js => src/iconFontSources.ts | 0 src/typings.d.ts | 6 + .../react-native-vector-icons/.editorconfig | 0 .../react-native-vector-icons/.eslintrc | 0 .../react-native-vector-icons/AntDesign.js | 0 .../BUILDING_FEATHER.md | 0 .../react-native-vector-icons/CONTRIBUTING.md | 0 .../react-native-vector-icons/Entypo.js | 0 .../react-native-vector-icons/EvilIcons.js | 0 .../react-native-vector-icons/FONTAWESOME5.md | 0 .../react-native-vector-icons/Feather.js | 0 .../react-native-vector-icons/FontAwesome.js | 0 .../react-native-vector-icons/FontAwesome5.js | 0 .../FontAwesome5Pro.js | 0 .../Fonts/AntDesign.ttf | Bin .../Fonts/Entypo.ttf | Bin .../Fonts/EvilIcons.ttf | Bin .../Fonts/Feather.ttf | Bin .../Fonts/FontAwesome.ttf | Bin .../Fonts/FontAwesome5_Brands.ttf | Bin .../Fonts/FontAwesome5_Regular.ttf | Bin .../Fonts/FontAwesome5_Solid.ttf | Bin .../Fonts/Foundation.ttf | Bin .../Fonts/Ionicons.ttf | Bin .../Fonts/MaterialCommunityIcons.ttf | Bin .../Fonts/MaterialIcons.ttf | Bin .../Fonts/Octicons.ttf | Bin .../Fonts/SimpleLineIcons.ttf | Bin .../Fonts/Zocial.ttf | Bin .../react-native-vector-icons/Foundation.js | 0 .../react-native-vector-icons/Ionicons.js | 0 .../vendor}/react-native-vector-icons/LICENSE | 0 .../MaterialCommunityIcons.js | 0 .../MaterialIcons.js | 0 .../react-native-vector-icons/Octicons.js | 0 .../react-native-vector-icons/README.md | 0 .../react-native-vector-icons/RNIMigration.js | 0 .../SimpleLineIcons.js | 0 .../react-native-vector-icons/Zocial.js | 0 .../bin/add-font-assets.js | 0 .../bin/fa5-upgrade.sh | 0 .../bin/generate-fontawesome5-metadata.js | 0 .../bin/generate-icon.js | 0 .../bin/generate-material-icons.js | 0 .../react-native-vector-icons/bower.json | 0 .../react-native-vector-icons/fonts.gradle | 0 .../glyphmaps/AntDesign.json | 0 .../glyphmaps/Entypo.json | 0 .../glyphmaps/EvilIcons.json | 0 .../glyphmaps/Feather.json | 0 .../glyphmaps/FontAwesome.json | 0 .../glyphmaps/FontAwesome5Free.json | 0 .../glyphmaps/FontAwesome5Free_meta.json | 0 .../glyphmaps/FontAwesome5Pro.json | 0 .../glyphmaps/FontAwesome5Pro_meta.json | 0 .../glyphmaps/Foundation.json | 0 .../glyphmaps/Ionicons.json | 0 .../glyphmaps/MaterialCommunityIcons.json | 0 .../glyphmaps/MaterialIcons.json | 0 .../glyphmaps/Octicons.json | 0 .../glyphmaps/SimpleLineIcons.json | 0 .../glyphmaps/Zocial.json | 0 .../react-native-vector-icons/index.js | 0 .../lib/create-icon-set-from-fontawesome5.js | 0 .../lib/create-icon-set-from-fontello.js | 0 .../lib/create-icon-set-from-icomoon.js | 0 .../lib/create-icon-set.js | 0 .../lib/ensure-native-module-available.js | 0 .../lib/generate-icon-set-from-css.js | 0 .../lib/icon-button.js | 0 .../lib/tab-bar-item-ios.js | 0 .../lib/toolbar-android.js | 0 .../templates/bundled-icon-set.tpl | 0 .../templates/separated-icon-set.tpl | 0 tsconfig.json | 9 ++ 168 files changed, 1103 insertions(+), 68 deletions(-) create mode 100644 .npmignore create mode 100644 babel.config.build.js create mode 100644 babel.config.js create mode 100644 build/AntDesign.d.ts create mode 100644 build/AntDesign.js create mode 100644 build/AntDesign.js.map create mode 100644 build/Entypo.d.ts create mode 100644 build/Entypo.js create mode 100644 build/Entypo.js.map create mode 100644 build/EvilIcons.d.ts create mode 100644 build/EvilIcons.js create mode 100644 build/EvilIcons.js.map create mode 100644 build/Feather.d.ts create mode 100644 build/Feather.js create mode 100644 build/Feather.js.map create mode 100644 build/FontAwesome.d.ts create mode 100644 build/FontAwesome.js create mode 100644 build/FontAwesome.js.map create mode 100644 build/FontAwesome5.d.ts create mode 100644 build/FontAwesome5.js create mode 100644 build/FontAwesome5.js.map create mode 100644 build/Foundation.d.ts create mode 100644 build/Foundation.js create mode 100644 build/Foundation.js.map create mode 100644 build/Icons.d.ts create mode 100644 build/Icons.js create mode 100644 build/Icons.js.map create mode 100644 build/IconsLazy.js create mode 100644 build/IconsLazy.js.map create mode 100644 build/Ionicons.d.ts create mode 100644 build/Ionicons.js create mode 100644 build/Ionicons.js.map create mode 100644 build/MaterialCommunityIcons.d.ts create mode 100644 build/MaterialCommunityIcons.js create mode 100644 build/MaterialCommunityIcons.js.map create mode 100644 build/MaterialIcons.d.ts create mode 100644 build/MaterialIcons.js create mode 100644 build/MaterialIcons.js.map create mode 100644 build/Octicons.d.ts create mode 100644 build/Octicons.js create mode 100644 build/Octicons.js.map create mode 100644 build/SimpleLineIcons.d.ts create mode 100644 build/SimpleLineIcons.js create mode 100644 build/SimpleLineIcons.js.map create mode 100644 build/Zocial.d.ts create mode 100644 build/Zocial.js create mode 100644 build/Zocial.js.map create mode 100644 build/createIconSet.d.ts create mode 100644 build/createIconSet.js create mode 100644 build/createIconSet.js.map create mode 100644 build/createIconSetFromFontello.d.ts create mode 100644 build/createIconSetFromFontello.js create mode 100644 build/createIconSetFromFontello.js.map create mode 100644 build/createIconSetFromIcoMoon.d.ts create mode 100644 build/createIconSetFromIcoMoon.js create mode 100644 build/createIconSetFromIcoMoon.js.map create mode 100644 build/iconFontSources.d.ts create mode 100644 build/iconFontSources.js create mode 100644 build/iconFontSources.js.map delete mode 100644 index.js rename AntDesign.js => src/AntDesign.ts (100%) rename Entypo.js => src/Entypo.ts (100%) rename EvilIcons.js => src/EvilIcons.ts (100%) rename Feather.js => src/Feather.ts (100%) rename FontAwesome.js => src/FontAwesome.ts (100%) rename FontAwesome5.js => src/FontAwesome5.tsx (100%) rename Foundation.js => src/Foundation.ts (100%) create mode 100644 src/Icons.ts rename Ionicons.js => src/Ionicons.ts (100%) rename MaterialCommunityIcons.js => src/MaterialCommunityIcons.ts (100%) rename MaterialIcons.js => src/MaterialIcons.ts (100%) rename Octicons.js => src/Octicons.ts (100%) rename SimpleLineIcons.js => src/SimpleLineIcons.ts (100%) rename Zocial.js => src/Zocial.ts (100%) rename createIconSet.js => src/createIconSet.tsx (71%) rename createIconSetFromFontello.js => src/createIconSetFromFontello.ts (100%) rename createIconSetFromIcoMoon.js => src/createIconSetFromIcoMoon.ts (100%) rename {fonts => src/fonts}/AntDesign.ttf (100%) rename {fonts => src/fonts}/Entypo.ttf (100%) rename {fonts => src/fonts}/EvilIcons.ttf (100%) rename {fonts => src/fonts}/Feather.ttf (100%) rename {fonts => src/fonts}/FontAwesome.ttf (100%) rename {fonts => src/fonts}/FontAwesome5_Brands.ttf (100%) rename {fonts => src/fonts}/FontAwesome5_Regular.ttf (100%) rename {fonts => src/fonts}/FontAwesome5_Solid.ttf (100%) rename {fonts => src/fonts}/Foundation.ttf (100%) rename {fonts => src/fonts}/Ionicons.ttf (100%) rename {fonts => src/fonts}/MaterialCommunityIcons.ttf (100%) rename {fonts => src/fonts}/MaterialIcons.ttf (100%) rename {fonts => src/fonts}/Octicons.ttf (100%) rename {fonts => src/fonts}/SimpleLineIcons.ttf (100%) rename {fonts => src/fonts}/Zocial.ttf (100%) rename iconFontSources.js => src/iconFontSources.ts (100%) create mode 100644 src/typings.d.ts rename {vendor => src/vendor}/react-native-vector-icons/.editorconfig (100%) rename {vendor => src/vendor}/react-native-vector-icons/.eslintrc (100%) rename {vendor => src/vendor}/react-native-vector-icons/AntDesign.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/BUILDING_FEATHER.md (100%) rename {vendor => src/vendor}/react-native-vector-icons/CONTRIBUTING.md (100%) rename {vendor => src/vendor}/react-native-vector-icons/Entypo.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/EvilIcons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/FONTAWESOME5.md (100%) rename {vendor => src/vendor}/react-native-vector-icons/Feather.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/FontAwesome.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/FontAwesome5.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/FontAwesome5Pro.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/AntDesign.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/Entypo.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/EvilIcons.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/Feather.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/FontAwesome.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/Foundation.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/Ionicons.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/MaterialIcons.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/Octicons.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/SimpleLineIcons.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Fonts/Zocial.ttf (100%) rename {vendor => src/vendor}/react-native-vector-icons/Foundation.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/Ionicons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/LICENSE (100%) rename {vendor => src/vendor}/react-native-vector-icons/MaterialCommunityIcons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/MaterialIcons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/Octicons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/README.md (100%) rename {vendor => src/vendor}/react-native-vector-icons/RNIMigration.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/SimpleLineIcons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/Zocial.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/bin/add-font-assets.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/bin/fa5-upgrade.sh (100%) rename {vendor => src/vendor}/react-native-vector-icons/bin/generate-fontawesome5-metadata.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/bin/generate-icon.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/bin/generate-material-icons.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/bower.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/fonts.gradle (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/AntDesign.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/Entypo.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/EvilIcons.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/Feather.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/FontAwesome.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/FontAwesome5Free.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/FontAwesome5Pro.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/FontAwesome5Pro_meta.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/Foundation.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/Ionicons.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/MaterialIcons.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/Octicons.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/SimpleLineIcons.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/glyphmaps/Zocial.json (100%) rename {vendor => src/vendor}/react-native-vector-icons/index.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/create-icon-set-from-fontawesome5.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/create-icon-set-from-fontello.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/create-icon-set-from-icomoon.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/create-icon-set.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/ensure-native-module-available.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/generate-icon-set-from-css.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/icon-button.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/tab-bar-item-ios.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/lib/toolbar-android.js (100%) rename {vendor => src/vendor}/react-native-vector-icons/templates/bundled-icon-set.tpl (100%) rename {vendor => src/vendor}/react-native-vector-icons/templates/separated-icon-set.tpl (100%) create mode 100644 tsconfig.json diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..873cce0 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +// @generated by expo-module-scripts +babel.config.js diff --git a/babel.config.build.js b/babel.config.build.js new file mode 100644 index 0000000..012f2bf --- /dev/null +++ b/babel.config.build.js @@ -0,0 +1,6 @@ +module.exports = function(api) { + api.cache(true); + return { + plugins: [['@babel/plugin-transform-modules-commonjs', { lazy: true }]], + }; +}; diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..68c7d31 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,2 @@ +// @generated by expo-module-scripts +module.exports = require('expo-module-scripts/babel.config.base'); diff --git a/build/AntDesign.d.ts b/build/AntDesign.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/AntDesign.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/AntDesign.js b/build/AntDesign.js new file mode 100644 index 0000000..967b3c4 --- /dev/null +++ b/build/AntDesign.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/AntDesign.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/AntDesign.json'; +export default createIconSet(glyphMap, 'anticon', font); +//# sourceMappingURL=AntDesign.js.map \ No newline at end of file diff --git a/build/AntDesign.js.map b/build/AntDesign.js.map new file mode 100644 index 0000000..16b2280 --- /dev/null +++ b/build/AntDesign.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AntDesign.js","sourceRoot":"","sources":["../src/AntDesign.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,QAAQ,MAAM,6DAA6D,CAAC;AAEnF,eAAe,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/AntDesign.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/AntDesign.json';\n\nexport default createIconSet(glyphMap, 'anticon', font);\n"]} \ No newline at end of file diff --git a/build/Entypo.d.ts b/build/Entypo.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/Entypo.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/Entypo.js b/build/Entypo.js new file mode 100644 index 0000000..39d4b8b --- /dev/null +++ b/build/Entypo.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/Entypo.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Entypo.json'; +export default createIconSet(glyphMap, 'entypo', font); +//# sourceMappingURL=Entypo.js.map \ No newline at end of file diff --git a/build/Entypo.js.map b/build/Entypo.js.map new file mode 100644 index 0000000..9234ee8 --- /dev/null +++ b/build/Entypo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Entypo.js","sourceRoot":"","sources":["../src/Entypo.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAEhF,eAAe,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/Entypo.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Entypo.json';\n\nexport default createIconSet(glyphMap, 'entypo', font);\n"]} \ No newline at end of file diff --git a/build/EvilIcons.d.ts b/build/EvilIcons.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/EvilIcons.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/EvilIcons.js b/build/EvilIcons.js new file mode 100644 index 0000000..321c5ff --- /dev/null +++ b/build/EvilIcons.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/EvilIcons.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/EvilIcons.json'; +export default createIconSet(glyphMap, 'evilicons', font); +//# sourceMappingURL=EvilIcons.js.map \ No newline at end of file diff --git a/build/EvilIcons.js.map b/build/EvilIcons.js.map new file mode 100644 index 0000000..85a351c --- /dev/null +++ b/build/EvilIcons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"EvilIcons.js","sourceRoot":"","sources":["../src/EvilIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,QAAQ,MAAM,6DAA6D,CAAC;AAEnF,eAAe,aAAa,CAAC,QAAQ,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/EvilIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/EvilIcons.json';\n\nexport default createIconSet(glyphMap, 'evilicons', font);\n"]} \ No newline at end of file diff --git a/build/Feather.d.ts b/build/Feather.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/Feather.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/Feather.js b/build/Feather.js new file mode 100644 index 0000000..efe0642 --- /dev/null +++ b/build/Feather.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/Feather.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Feather.json'; +export default createIconSet(glyphMap, 'feather', font); +//# sourceMappingURL=Feather.js.map \ No newline at end of file diff --git a/build/Feather.js.map b/build/Feather.js.map new file mode 100644 index 0000000..64c4914 --- /dev/null +++ b/build/Feather.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Feather.js","sourceRoot":"","sources":["../src/Feather.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AAEjF,eAAe,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/Feather.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Feather.json';\n\nexport default createIconSet(glyphMap, 'feather', font);\n"]} \ No newline at end of file diff --git a/build/FontAwesome.d.ts b/build/FontAwesome.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/FontAwesome.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/FontAwesome.js b/build/FontAwesome.js new file mode 100644 index 0000000..62f9baa --- /dev/null +++ b/build/FontAwesome.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/FontAwesome.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome.json'; +export default createIconSet(glyphMap, 'FontAwesome', font); +//# sourceMappingURL=FontAwesome.js.map \ No newline at end of file diff --git a/build/FontAwesome.js.map b/build/FontAwesome.js.map new file mode 100644 index 0000000..869c468 --- /dev/null +++ b/build/FontAwesome.js.map @@ -0,0 +1 @@ +{"version":3,"file":"FontAwesome.js","sourceRoot":"","sources":["../src/FontAwesome.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,yBAAyB,CAAC;AAC3C,OAAO,QAAQ,MAAM,+DAA+D,CAAC;AAErF,eAAe,aAAa,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/FontAwesome.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/FontAwesome.json';\n\nexport default createIconSet(glyphMap, 'FontAwesome', font);\n"]} \ No newline at end of file diff --git a/build/FontAwesome5.d.ts b/build/FontAwesome5.d.ts new file mode 100644 index 0000000..04febaa --- /dev/null +++ b/build/FontAwesome5.d.ts @@ -0,0 +1,5 @@ +import React from 'react'; +export default class FontAwesome5 extends React.Component { + componentDidMount(): void; + render(): null; +} diff --git a/build/FontAwesome5.js b/build/FontAwesome5.js new file mode 100644 index 0000000..74f2cbe --- /dev/null +++ b/build/FontAwesome5.js @@ -0,0 +1,10 @@ +import React from 'react'; +export default class FontAwesome5 extends React.Component { + componentDidMount() { + console.warn('FontAwesome5 is not supported by @expo/vector-icons: https://github.com/expo/vector-icons/issues/77'); + } + render() { + return null; + } +} +//# sourceMappingURL=FontAwesome5.js.map \ No newline at end of file diff --git a/build/FontAwesome5.js.map b/build/FontAwesome5.js.map new file mode 100644 index 0000000..9b5d00c --- /dev/null +++ b/build/FontAwesome5.js.map @@ -0,0 +1 @@ +{"version":3,"file":"FontAwesome5.js","sourceRoot":"","sources":["../src/FontAwesome5.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,SAAS;IACvD,iBAAiB;QACf,OAAO,CAAC,IAAI,CACV,qGAAqG,CACtG,CAAC;IACJ,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;CACF","sourcesContent":["import React from 'react';\n\nexport default class FontAwesome5 extends React.Component {\n componentDidMount() {\n console.warn(\n 'FontAwesome5 is not supported by @expo/vector-icons: https://github.com/expo/vector-icons/issues/77'\n );\n }\n\n render() {\n return null;\n }\n}\n"]} \ No newline at end of file diff --git a/build/Foundation.d.ts b/build/Foundation.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/Foundation.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/Foundation.js b/build/Foundation.js new file mode 100644 index 0000000..225f61a --- /dev/null +++ b/build/Foundation.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/Foundation.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Foundation.json'; +export default createIconSet(glyphMap, 'foundation', font); +//# sourceMappingURL=Foundation.js.map \ No newline at end of file diff --git a/build/Foundation.js.map b/build/Foundation.js.map new file mode 100644 index 0000000..299e07d --- /dev/null +++ b/build/Foundation.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Foundation.js","sourceRoot":"","sources":["../src/Foundation.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,QAAQ,MAAM,8DAA8D,CAAC;AAEpF,eAAe,aAAa,CAAC,QAAQ,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/Foundation.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Foundation.json';\n\nexport default createIconSet(glyphMap, 'foundation', font);\n"]} \ No newline at end of file diff --git a/build/Icons.d.ts b/build/Icons.d.ts new file mode 100644 index 0000000..526ddc9 --- /dev/null +++ b/build/Icons.d.ts @@ -0,0 +1,15 @@ +export { default as AntDesign } from './AntDesign'; +export { default as Entypo } from './Entypo'; +export { default as EvilIcons } from './EvilIcons'; +export { default as Feather } from './Feather'; +export { default as FontAwesome } from './FontAwesome'; +export { default as Foundation } from './Foundation'; +export { default as Ionicons } from './Ionicons'; +export { default as MaterialCommunityIcons } from './MaterialCommunityIcons'; +export { default as MaterialIcons } from './MaterialIcons'; +export { default as Octicons } from './Octicons'; +export { default as SimpleLineIcons } from './SimpleLineIcons'; +export { default as Zocial } from './Zocial'; +export { default as createIconSet } from './createIconSet'; +export { default as createIconSetFromFontello } from './createIconSetFromFontello'; +export { default as createIconSetFromIcoMoon } from './createIconSetFromIcoMoon'; diff --git a/build/Icons.js b/build/Icons.js new file mode 100644 index 0000000..a675d45 --- /dev/null +++ b/build/Icons.js @@ -0,0 +1,16 @@ +export { default as AntDesign } from './AntDesign'; +export { default as Entypo } from './Entypo'; +export { default as EvilIcons } from './EvilIcons'; +export { default as Feather } from './Feather'; +export { default as FontAwesome } from './FontAwesome'; +export { default as Foundation } from './Foundation'; +export { default as Ionicons } from './Ionicons'; +export { default as MaterialCommunityIcons } from './MaterialCommunityIcons'; +export { default as MaterialIcons } from './MaterialIcons'; +export { default as Octicons } from './Octicons'; +export { default as SimpleLineIcons } from './SimpleLineIcons'; +export { default as Zocial } from './Zocial'; +export { default as createIconSet } from './createIconSet'; +export { default as createIconSetFromFontello } from './createIconSetFromFontello'; +export { default as createIconSetFromIcoMoon } from './createIconSetFromIcoMoon'; +//# sourceMappingURL=Icons.js.map \ No newline at end of file diff --git a/build/Icons.js.map b/build/Icons.js.map new file mode 100644 index 0000000..c90530d --- /dev/null +++ b/build/Icons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Icons.js","sourceRoot":"","sources":["../src/Icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export { default as AntDesign } from './AntDesign';\nexport { default as Entypo } from './Entypo';\nexport { default as EvilIcons } from './EvilIcons';\nexport { default as Feather } from './Feather';\nexport { default as FontAwesome } from './FontAwesome';\nexport { default as Foundation } from './Foundation';\nexport { default as Ionicons } from './Ionicons';\nexport { default as MaterialCommunityIcons } from './MaterialCommunityIcons';\nexport { default as MaterialIcons } from './MaterialIcons';\nexport { default as Octicons } from './Octicons';\nexport { default as SimpleLineIcons } from './SimpleLineIcons';\nexport { default as Zocial } from './Zocial';\nexport { default as createIconSet } from './createIconSet';\nexport { default as createIconSetFromFontello } from './createIconSetFromFontello';\nexport { default as createIconSetFromIcoMoon } from './createIconSetFromIcoMoon';\n"]} \ No newline at end of file diff --git a/build/IconsLazy.js b/build/IconsLazy.js new file mode 100644 index 0000000..3be9079 --- /dev/null +++ b/build/IconsLazy.js @@ -0,0 +1,129 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "AntDesign", { + enumerable: true, + get: function () { + return _AntDesign.default; + } +}); +Object.defineProperty(exports, "Entypo", { + enumerable: true, + get: function () { + return _Entypo.default; + } +}); +Object.defineProperty(exports, "EvilIcons", { + enumerable: true, + get: function () { + return _EvilIcons.default; + } +}); +Object.defineProperty(exports, "Feather", { + enumerable: true, + get: function () { + return _Feather.default; + } +}); +Object.defineProperty(exports, "FontAwesome", { + enumerable: true, + get: function () { + return _FontAwesome.default; + } +}); +Object.defineProperty(exports, "Foundation", { + enumerable: true, + get: function () { + return _Foundation.default; + } +}); +Object.defineProperty(exports, "Ionicons", { + enumerable: true, + get: function () { + return _Ionicons.default; + } +}); +Object.defineProperty(exports, "MaterialCommunityIcons", { + enumerable: true, + get: function () { + return _MaterialCommunityIcons.default; + } +}); +Object.defineProperty(exports, "MaterialIcons", { + enumerable: true, + get: function () { + return _MaterialIcons.default; + } +}); +Object.defineProperty(exports, "Octicons", { + enumerable: true, + get: function () { + return _Octicons.default; + } +}); +Object.defineProperty(exports, "SimpleLineIcons", { + enumerable: true, + get: function () { + return _SimpleLineIcons.default; + } +}); +Object.defineProperty(exports, "Zocial", { + enumerable: true, + get: function () { + return _Zocial.default; + } +}); +Object.defineProperty(exports, "createIconSet", { + enumerable: true, + get: function () { + return _createIconSet.default; + } +}); +Object.defineProperty(exports, "createIconSetFromFontello", { + enumerable: true, + get: function () { + return _createIconSetFromFontello.default; + } +}); +Object.defineProperty(exports, "createIconSetFromIcoMoon", { + enumerable: true, + get: function () { + return _createIconSetFromIcoMoon.default; + } +}); + +var _AntDesign = _interopRequireDefault(require("./AntDesign")); + +var _Entypo = _interopRequireDefault(require("./Entypo")); + +var _EvilIcons = _interopRequireDefault(require("./EvilIcons")); + +var _Feather = _interopRequireDefault(require("./Feather")); + +var _FontAwesome = _interopRequireDefault(require("./FontAwesome")); + +var _Foundation = _interopRequireDefault(require("./Foundation")); + +var _Ionicons = _interopRequireDefault(require("./Ionicons")); + +var _MaterialCommunityIcons = _interopRequireDefault(require("./MaterialCommunityIcons")); + +var _MaterialIcons = _interopRequireDefault(require("./MaterialIcons")); + +var _Octicons = _interopRequireDefault(require("./Octicons")); + +var _SimpleLineIcons = _interopRequireDefault(require("./SimpleLineIcons")); + +var _Zocial = _interopRequireDefault(require("./Zocial")); + +var _createIconSet = _interopRequireDefault(require("./createIconSet")); + +var _createIconSetFromFontello = _interopRequireDefault(require("./createIconSetFromFontello")); + +var _createIconSetFromIcoMoon = _interopRequireDefault(require("./createIconSetFromIcoMoon")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +//# sourceMappingURL=IconsLazy.js.map \ No newline at end of file diff --git a/build/IconsLazy.js.map b/build/IconsLazy.js.map new file mode 100644 index 0000000..99930e4 --- /dev/null +++ b/build/IconsLazy.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/Icons.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA","file":"IconsLazy.js","sourcesContent":["export { default as AntDesign } from './AntDesign';\nexport { default as Entypo } from './Entypo';\nexport { default as EvilIcons } from './EvilIcons';\nexport { default as Feather } from './Feather';\nexport { default as FontAwesome } from './FontAwesome';\nexport { default as Foundation } from './Foundation';\nexport { default as Ionicons } from './Ionicons';\nexport { default as MaterialCommunityIcons } from './MaterialCommunityIcons';\nexport { default as MaterialIcons } from './MaterialIcons';\nexport { default as Octicons } from './Octicons';\nexport { default as SimpleLineIcons } from './SimpleLineIcons';\nexport { default as Zocial } from './Zocial';\nexport { default as createIconSet } from './createIconSet';\nexport { default as createIconSetFromFontello } from './createIconSetFromFontello';\nexport { default as createIconSetFromIcoMoon } from './createIconSetFromIcoMoon';\n"]} \ No newline at end of file diff --git a/build/Ionicons.d.ts b/build/Ionicons.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/Ionicons.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/Ionicons.js b/build/Ionicons.js new file mode 100644 index 0000000..91656c3 --- /dev/null +++ b/build/Ionicons.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/Ionicons.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Ionicons.json'; +export default createIconSet(glyphMap, 'ionicons', font); +//# sourceMappingURL=Ionicons.js.map \ No newline at end of file diff --git a/build/Ionicons.js.map b/build/Ionicons.js.map new file mode 100644 index 0000000..8876443 --- /dev/null +++ b/build/Ionicons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Ionicons.js","sourceRoot":"","sources":["../src/Ionicons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,sBAAsB,CAAC;AACxC,OAAO,QAAQ,MAAM,4DAA4D,CAAC;AAElF,eAAe,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/Ionicons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Ionicons.json';\n\nexport default createIconSet(glyphMap, 'ionicons', font);\n"]} \ No newline at end of file diff --git a/build/MaterialCommunityIcons.d.ts b/build/MaterialCommunityIcons.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/MaterialCommunityIcons.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/MaterialCommunityIcons.js b/build/MaterialCommunityIcons.js new file mode 100644 index 0000000..ac04c67 --- /dev/null +++ b/build/MaterialCommunityIcons.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/MaterialCommunityIcons.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json'; +export default createIconSet(glyphMap, 'material-community', font); +//# sourceMappingURL=MaterialCommunityIcons.js.map \ No newline at end of file diff --git a/build/MaterialCommunityIcons.js.map b/build/MaterialCommunityIcons.js.map new file mode 100644 index 0000000..d8da396 --- /dev/null +++ b/build/MaterialCommunityIcons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MaterialCommunityIcons.js","sourceRoot":"","sources":["../src/MaterialCommunityIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,QAAQ,MAAM,0EAA0E,CAAC;AAEhG,eAAe,aAAa,CAAC,QAAQ,EAAE,oBAAoB,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/MaterialCommunityIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json';\n\nexport default createIconSet(glyphMap, 'material-community', font);\n"]} \ No newline at end of file diff --git a/build/MaterialIcons.d.ts b/build/MaterialIcons.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/MaterialIcons.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/MaterialIcons.js b/build/MaterialIcons.js new file mode 100644 index 0000000..77e10b9 --- /dev/null +++ b/build/MaterialIcons.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/MaterialIcons.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json'; +export default createIconSet(glyphMap, 'material', font); +//# sourceMappingURL=MaterialIcons.js.map \ No newline at end of file diff --git a/build/MaterialIcons.js.map b/build/MaterialIcons.js.map new file mode 100644 index 0000000..63d8f21 --- /dev/null +++ b/build/MaterialIcons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"MaterialIcons.js","sourceRoot":"","sources":["../src/MaterialIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,2BAA2B,CAAC;AAC7C,OAAO,QAAQ,MAAM,iEAAiE,CAAC;AAEvF,eAAe,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/MaterialIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json';\n\nexport default createIconSet(glyphMap, 'material', font);\n"]} \ No newline at end of file diff --git a/build/Octicons.d.ts b/build/Octicons.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/Octicons.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/Octicons.js b/build/Octicons.js new file mode 100644 index 0000000..1cd2421 --- /dev/null +++ b/build/Octicons.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/Octicons.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Octicons.json'; +export default createIconSet(glyphMap, 'octicons', font); +//# sourceMappingURL=Octicons.js.map \ No newline at end of file diff --git a/build/Octicons.js.map b/build/Octicons.js.map new file mode 100644 index 0000000..3d338f9 --- /dev/null +++ b/build/Octicons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Octicons.js","sourceRoot":"","sources":["../src/Octicons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,sBAAsB,CAAC;AACxC,OAAO,QAAQ,MAAM,4DAA4D,CAAC;AAElF,eAAe,aAAa,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/Octicons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Octicons.json';\n\nexport default createIconSet(glyphMap, 'octicons', font);\n"]} \ No newline at end of file diff --git a/build/SimpleLineIcons.d.ts b/build/SimpleLineIcons.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/SimpleLineIcons.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/SimpleLineIcons.js b/build/SimpleLineIcons.js new file mode 100644 index 0000000..442c83e --- /dev/null +++ b/build/SimpleLineIcons.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/SimpleLineIcons.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json'; +export default createIconSet(glyphMap, 'simple-line-icons', font); +//# sourceMappingURL=SimpleLineIcons.js.map \ No newline at end of file diff --git a/build/SimpleLineIcons.js.map b/build/SimpleLineIcons.js.map new file mode 100644 index 0000000..8db4657 --- /dev/null +++ b/build/SimpleLineIcons.js.map @@ -0,0 +1 @@ +{"version":3,"file":"SimpleLineIcons.js","sourceRoot":"","sources":["../src/SimpleLineIcons.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,6BAA6B,CAAC;AAC/C,OAAO,QAAQ,MAAM,mEAAmE,CAAC;AAEzF,eAAe,aAAa,CAAC,QAAQ,EAAE,mBAAmB,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/SimpleLineIcons.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json';\n\nexport default createIconSet(glyphMap, 'simple-line-icons', font);\n"]} \ No newline at end of file diff --git a/build/Zocial.d.ts b/build/Zocial.d.ts new file mode 100644 index 0000000..1887211 --- /dev/null +++ b/build/Zocial.d.ts @@ -0,0 +1,54 @@ +declare const _default: { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: import("react").ReactNode; + }>; + refs: { + [key: string]: import("react").ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: import("react").Context | undefined; +}; +export default _default; diff --git a/build/Zocial.js b/build/Zocial.js new file mode 100644 index 0000000..15d0d6a --- /dev/null +++ b/build/Zocial.js @@ -0,0 +1,5 @@ +import createIconSet from './createIconSet'; +import font from './fonts/Zocial.ttf'; +import glyphMap from './vendor/react-native-vector-icons/glyphmaps/Zocial.json'; +export default createIconSet(glyphMap, 'zocial', font); +//# sourceMappingURL=Zocial.js.map \ No newline at end of file diff --git a/build/Zocial.js.map b/build/Zocial.js.map new file mode 100644 index 0000000..3236971 --- /dev/null +++ b/build/Zocial.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Zocial.js","sourceRoot":"","sources":["../src/Zocial.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAEhF,eAAe,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC","sourcesContent":["import createIconSet from './createIconSet';\nimport font from './fonts/Zocial.ttf';\nimport glyphMap from './vendor/react-native-vector-icons/glyphmaps/Zocial.json';\n\nexport default createIconSet(glyphMap, 'zocial', font);\n"]} \ No newline at end of file diff --git a/build/createIconSet.d.ts b/build/createIconSet.d.ts new file mode 100644 index 0000000..3726480 --- /dev/null +++ b/build/createIconSet.d.ts @@ -0,0 +1,54 @@ +import React from 'react'; +export default function (glyphMap: any, fontName: any, expoAssetId: any): { + new (props: Readonly<{}>): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: React.ReactNode; + }>; + refs: { + [key: string]: React.ReactInstance; + }; + }; + new (props: {}, context?: any): { + _mounted: boolean; + _icon?: any; + state: { + fontIsLoaded: boolean; + }; + componentWillMount(): Promise; + componentWillUnmount(): void; + setNativeProps(props: any): void; + render(): JSX.Element; + context: any; + setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; + forceUpdate(callBack?: (() => void) | undefined): void; + readonly props: Readonly<{ + children?: React.ReactNode; + }>; + refs: { + [key: string]: React.ReactInstance; + }; + }; + propTypes: any; + defaultProps: any; + Button: any; + glyphMap: any; + getRawGlyphMap: () => any; + getFontFamily: () => any; + loadFont: () => Promise; + font: { + [x: number]: any; + }; + contextType?: React.Context | undefined; +}; diff --git a/build/createIconSet.js b/build/createIconSet.js new file mode 100644 index 0000000..8ec1c7a --- /dev/null +++ b/build/createIconSet.js @@ -0,0 +1,52 @@ +import React from 'react'; +import { Text } from 'react-native'; +import { loadAsync, isLoaded } from 'expo-font'; +import createIconSet from './vendor/react-native-vector-icons/lib/create-icon-set'; +import createIconButtonComponent from './vendor/react-native-vector-icons/lib/icon-button'; +export default function (glyphMap, fontName, expoAssetId) { + var _a; + const font = { [fontName]: expoAssetId }; + const RNVIconComponent = createIconSet(glyphMap, fontName); + return _a = class Icon extends React.Component { + constructor() { + super(...arguments); + this._mounted = false; + this.state = { + fontIsLoaded: isLoaded(fontName), + }; + } + async componentWillMount() { + this._mounted = true; + if (!this.state.fontIsLoaded) { + await loadAsync(font); + this._mounted && this.setState({ fontIsLoaded: true }); + } + } + componentWillUnmount() { + this._mounted = false; + } + setNativeProps(props) { + if (this._icon) { + this._icon.setNativeProps(props); + } + } + render() { + if (!this.state.fontIsLoaded) { + return ; + } + return ( { + this._icon = view; + }} {...this.props}/>); + } + }, + _a.propTypes = RNVIconComponent.propTypes, + _a.defaultProps = RNVIconComponent.defaultProps, + _a.Button = createIconButtonComponent(_a), + _a.glyphMap = glyphMap, + _a.getRawGlyphMap = () => glyphMap, + _a.getFontFamily = () => fontName, + _a.loadFont = () => loadAsync(font), + _a.font = font, + _a; +} +//# sourceMappingURL=createIconSet.js.map \ No newline at end of file diff --git a/build/createIconSet.js.map b/build/createIconSet.js.map new file mode 100644 index 0000000..8e9b18e --- /dev/null +++ b/build/createIconSet.js.map @@ -0,0 +1 @@ +{"version":3,"file":"createIconSet.js","sourceRoot":"","sources":["../src/createIconSet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,yBAAyB,MAAM,oDAAoD,CAAC;AAE3F,MAAM,CAAC,OAAO,WAAU,QAAQ,EAAE,QAAQ,EAAE,WAAW;;IACrD,MAAM,IAAI,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzC,MAAM,gBAAgB,GAAG,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAE3D,YAAO,MAAM,IAAK,SAAQ,KAAK,CAAC,SAAS;YAAlC;;gBAUL,aAAQ,GAAG,KAAK,CAAC;gBAGjB,UAAK,GAAG;oBACN,YAAY,EAAE,QAAQ,CAAC,QAAQ,CAAC;iBACjC,CAAC;YAkCJ,CAAC;YAhCC,KAAK,CAAC,kBAAkB;gBACtB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;gBACrB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;oBAC5B,MAAM,SAAS,CAAC,IAAI,CAAC,CAAC;oBACtB,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;iBACxD;YACH,CAAC;YAED,oBAAoB;gBAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACxB,CAAC;YAED,cAAc,CAAC,KAAK;gBAClB,IAAI,IAAI,CAAC,KAAK,EAAE;oBACd,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;iBAClC;YACH,CAAC;YAED,MAAM;gBACJ,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE;oBAC5B,OAAO,CAAC,IAAI,CAAC,AAAD,EAAG,CAAC;iBACjB;gBAED,OAAO,CACL,CAAC,gBAAgB,CACf,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE;oBACV,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;gBACpB,CAAC,CAAC,CACF,IAAI,IAAI,CAAC,KAAK,CAAC,EACf,CACH,CAAC;YACJ,CAAC;SACF;QAhDQ,YAAS,GAAG,gBAAgB,CAAC,SAAU;QACvC,eAAY,GAAG,gBAAgB,CAAC,YAAa;QAC7C,SAAM,GAAG,yBAAyB,CAAC,EAAI,CAAE;QACzC,WAAQ,GAAG,QAAS;QACpB,iBAAc,GAAG,GAAG,EAAE,CAAC,QAAS;QAChC,gBAAa,GAAG,GAAG,EAAE,CAAC,QAAS;QAC/B,WAAQ,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAE;QACjC,OAAI,GAAG,IAAK;WAyCnB;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport { Text } from 'react-native';\nimport { loadAsync, isLoaded } from 'expo-font';\nimport createIconSet from './vendor/react-native-vector-icons/lib/create-icon-set';\nimport createIconButtonComponent from './vendor/react-native-vector-icons/lib/icon-button';\n\nexport default function(glyphMap, fontName, expoAssetId) {\n const font = { [fontName]: expoAssetId };\n const RNVIconComponent = createIconSet(glyphMap, fontName);\n\n return class Icon extends React.Component {\n static propTypes = RNVIconComponent.propTypes;\n static defaultProps = RNVIconComponent.defaultProps;\n static Button = createIconButtonComponent(Icon);\n static glyphMap = glyphMap;\n static getRawGlyphMap = () => glyphMap;\n static getFontFamily = () => fontName;\n static loadFont = () => loadAsync(font);\n static font = font;\n\n _mounted = false;\n _icon?: any;\n\n state = {\n fontIsLoaded: isLoaded(fontName),\n };\n\n async componentWillMount() {\n this._mounted = true;\n if (!this.state.fontIsLoaded) {\n await loadAsync(font);\n this._mounted && this.setState({ fontIsLoaded: true });\n }\n }\n\n componentWillUnmount() {\n this._mounted = false;\n }\n\n setNativeProps(props) {\n if (this._icon) {\n this._icon.setNativeProps(props);\n }\n }\n\n render() {\n if (!this.state.fontIsLoaded) {\n return ;\n }\n\n return (\n {\n this._icon = view;\n }}\n {...this.props}\n />\n );\n }\n };\n}\n"]} \ No newline at end of file diff --git a/build/createIconSetFromFontello.d.ts b/build/createIconSetFromFontello.d.ts new file mode 100644 index 0000000..3bffb15 --- /dev/null +++ b/build/createIconSetFromFontello.d.ts @@ -0,0 +1 @@ +export default function (config: any, expoFontName: any, expoAssetId: any): any; diff --git a/build/createIconSetFromFontello.js b/build/createIconSetFromFontello.js new file mode 100644 index 0000000..bb089a3 --- /dev/null +++ b/build/createIconSetFromFontello.js @@ -0,0 +1,5 @@ +import createIconSetFromFontello from './vendor/react-native-vector-icons/lib/create-icon-set-from-fontello'; +export default function (config, expoFontName, expoAssetId) { + return createIconSetFromFontello(config, expoFontName, expoAssetId); +} +//# sourceMappingURL=createIconSetFromFontello.js.map \ No newline at end of file diff --git a/build/createIconSetFromFontello.js.map b/build/createIconSetFromFontello.js.map new file mode 100644 index 0000000..db8f0c4 --- /dev/null +++ b/build/createIconSetFromFontello.js.map @@ -0,0 +1 @@ +{"version":3,"file":"createIconSetFromFontello.js","sourceRoot":"","sources":["../src/createIconSetFromFontello.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,MAAM,sEAAsE,CAAC;AAE7G,MAAM,CAAC,OAAO,WAAU,MAAM,EAAE,YAAY,EAAE,WAAW;IACvD,OAAO,yBAAyB,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;AACtE,CAAC","sourcesContent":["import createIconSetFromFontello from './vendor/react-native-vector-icons/lib/create-icon-set-from-fontello';\n\nexport default function(config, expoFontName, expoAssetId) {\n return createIconSetFromFontello(config, expoFontName, expoAssetId);\n}\n"]} \ No newline at end of file diff --git a/build/createIconSetFromIcoMoon.d.ts b/build/createIconSetFromIcoMoon.d.ts new file mode 100644 index 0000000..3bffb15 --- /dev/null +++ b/build/createIconSetFromIcoMoon.d.ts @@ -0,0 +1 @@ +export default function (config: any, expoFontName: any, expoAssetId: any): any; diff --git a/build/createIconSetFromIcoMoon.js b/build/createIconSetFromIcoMoon.js new file mode 100644 index 0000000..e7b29b6 --- /dev/null +++ b/build/createIconSetFromIcoMoon.js @@ -0,0 +1,5 @@ +import createIconSetFromIcoMoon from './vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon'; +export default function (config, expoFontName, expoAssetId) { + return createIconSetFromIcoMoon(config, expoFontName, expoAssetId); +} +//# sourceMappingURL=createIconSetFromIcoMoon.js.map \ No newline at end of file diff --git a/build/createIconSetFromIcoMoon.js.map b/build/createIconSetFromIcoMoon.js.map new file mode 100644 index 0000000..5fe0b4d --- /dev/null +++ b/build/createIconSetFromIcoMoon.js.map @@ -0,0 +1 @@ +{"version":3,"file":"createIconSetFromIcoMoon.js","sourceRoot":"","sources":["../src/createIconSetFromIcoMoon.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,MAAM,qEAAqE,CAAC;AAE3G,MAAM,CAAC,OAAO,WAAU,MAAM,EAAE,YAAY,EAAE,WAAW;IACvD,OAAO,wBAAwB,CAAC,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;AACrE,CAAC","sourcesContent":["import createIconSetFromIcoMoon from './vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon';\n\nexport default function(config, expoFontName, expoAssetId) {\n return createIconSetFromIcoMoon(config, expoFontName, expoAssetId);\n}\n"]} \ No newline at end of file diff --git a/build/iconFontSources.d.ts b/build/iconFontSources.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/build/iconFontSources.js b/build/iconFontSources.js new file mode 100644 index 0000000..acce635 --- /dev/null +++ b/build/iconFontSources.js @@ -0,0 +1,10 @@ +// TODO(brentvatne): implement this plis +// export default function(fontNames) { +// let result = {}; +// +// fontNames.forEach(fontName => { +// }); +// +// return result; +// } +//# sourceMappingURL=iconFontSources.js.map \ No newline at end of file diff --git a/build/iconFontSources.js.map b/build/iconFontSources.js.map new file mode 100644 index 0000000..77f98ea --- /dev/null +++ b/build/iconFontSources.js.map @@ -0,0 +1 @@ +{"version":3,"file":"iconFontSources.js","sourceRoot":"","sources":["../src/iconFontSources.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,uCAAuC;AACvC,qBAAqB;AACrB,EAAE;AACF,oCAAoC;AACpC,QAAQ;AACR,EAAE;AACF,mBAAmB;AACnB,IAAI","sourcesContent":["// TODO(brentvatne): implement this plis\n// export default function(fontNames) {\n// let result = {};\n//\n// fontNames.forEach(fontName => {\n// });\n//\n// return result;\n// }\n"]} \ No newline at end of file diff --git a/index.js b/index.js deleted file mode 100644 index 1b9bd6f..0000000 --- a/index.js +++ /dev/null @@ -1,47 +0,0 @@ -module.exports = { - get AntDesign() { - return require('./AntDesign').default; - }, - get Entypo() { - return require('./Entypo').default; - }, - get EvilIcons() { - return require('./EvilIcons').default; - }, - get Feather() { - return require('./Feather').default; - }, - get FontAwesome() { - return require('./FontAwesome').default; - }, - get Foundation() { - return require('./Foundation').default; - }, - get Ionicons() { - return require('./Ionicons').default; - }, - get MaterialCommunityIcons() { - return require('./MaterialCommunityIcons').default; - }, - get MaterialIcons() { - return require('./MaterialIcons').default; - }, - get Octicons() { - return require('./Octicons').default; - }, - get SimpleLineIcons() { - return require('./SimpleLineIcons').default; - }, - get Zocial() { - return require('./Zocial').default; - }, - get createIconSet() { - return require('./createIconSet').default; - }, - get createIconSetFromFontello() { - return require('./createIconSetFromFontello').default; - }, - get createIconSetFromIcoMoon() { - return require('./createIconSetFromIcoMoon').default; - }, -}; diff --git a/package.json b/package.json index d675fe3..25c2ff3 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,19 @@ "name": "@expo/vector-icons", "version": "9.0.0", "description": "Built-in support for popular icon fonts and the tooling to create your own Icon components from your font and glyph map. This is a wrapper around react-native-vector-icons to make it compatible with Expo.", - "main": "index.js", - "scripts": {}, + "main": "build/IconsLazy.js", + "module": "build/Icons.js", + "types": "build/Icons.d.ts", + "scripts": { + "generate-lazy": "expo-module babel --config-file ./babel.config.build.js --source-maps --out-file build/IconsLazy.js build/Icons.js", + "build": "EXPO_NONINTERACTIVE=1 expo-module build; npm run generate-lazy", + "clean": "expo-module clean", + "lint": "eslint tools", + "test": "expo-module test", + "prepare": "expo-module prepare; npm run generate-lazy", + "prepublishOnly": "expo-module prepublishOnly", + "expo-module": "expo-module" + }, "repository": { "type": "git", "url": "https://github.com/expo/vector-icons.git" @@ -16,6 +27,9 @@ "bugs": { "url": "https://github.com/expo/vector-icons/issues" }, + "jest": { + "preset": "expo-module-scripts" + }, "homepage": "https://expo.github.io/vector-icons", "dependencies": { "lodash": "^4.17.4", @@ -24,5 +38,7 @@ "peerDependencies": { "expo-font": "^2.0.0" }, - "devDependencies": {} + "devDependencies": { + "expo-module-scripts": "^1.0.0" + } } diff --git a/AntDesign.js b/src/AntDesign.ts similarity index 100% rename from AntDesign.js rename to src/AntDesign.ts diff --git a/Entypo.js b/src/Entypo.ts similarity index 100% rename from Entypo.js rename to src/Entypo.ts diff --git a/EvilIcons.js b/src/EvilIcons.ts similarity index 100% rename from EvilIcons.js rename to src/EvilIcons.ts diff --git a/Feather.js b/src/Feather.ts similarity index 100% rename from Feather.js rename to src/Feather.ts diff --git a/FontAwesome.js b/src/FontAwesome.ts similarity index 100% rename from FontAwesome.js rename to src/FontAwesome.ts diff --git a/FontAwesome5.js b/src/FontAwesome5.tsx similarity index 100% rename from FontAwesome5.js rename to src/FontAwesome5.tsx diff --git a/Foundation.js b/src/Foundation.ts similarity index 100% rename from Foundation.js rename to src/Foundation.ts diff --git a/src/Icons.ts b/src/Icons.ts new file mode 100644 index 0000000..526ddc9 --- /dev/null +++ b/src/Icons.ts @@ -0,0 +1,15 @@ +export { default as AntDesign } from './AntDesign'; +export { default as Entypo } from './Entypo'; +export { default as EvilIcons } from './EvilIcons'; +export { default as Feather } from './Feather'; +export { default as FontAwesome } from './FontAwesome'; +export { default as Foundation } from './Foundation'; +export { default as Ionicons } from './Ionicons'; +export { default as MaterialCommunityIcons } from './MaterialCommunityIcons'; +export { default as MaterialIcons } from './MaterialIcons'; +export { default as Octicons } from './Octicons'; +export { default as SimpleLineIcons } from './SimpleLineIcons'; +export { default as Zocial } from './Zocial'; +export { default as createIconSet } from './createIconSet'; +export { default as createIconSetFromFontello } from './createIconSetFromFontello'; +export { default as createIconSetFromIcoMoon } from './createIconSetFromIcoMoon'; diff --git a/Ionicons.js b/src/Ionicons.ts similarity index 100% rename from Ionicons.js rename to src/Ionicons.ts diff --git a/MaterialCommunityIcons.js b/src/MaterialCommunityIcons.ts similarity index 100% rename from MaterialCommunityIcons.js rename to src/MaterialCommunityIcons.ts diff --git a/MaterialIcons.js b/src/MaterialIcons.ts similarity index 100% rename from MaterialIcons.js rename to src/MaterialIcons.ts diff --git a/Octicons.js b/src/Octicons.ts similarity index 100% rename from Octicons.js rename to src/Octicons.ts diff --git a/SimpleLineIcons.js b/src/SimpleLineIcons.ts similarity index 100% rename from SimpleLineIcons.js rename to src/SimpleLineIcons.ts diff --git a/Zocial.js b/src/Zocial.ts similarity index 100% rename from Zocial.js rename to src/Zocial.ts diff --git a/createIconSet.js b/src/createIconSet.tsx similarity index 71% rename from createIconSet.js rename to src/createIconSet.tsx index 7591a6e..f855c5a 100644 --- a/createIconSet.js +++ b/src/createIconSet.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Text } from 'react-native'; -import * as Font from 'expo-font'; +import { loadAsync, isLoaded } from 'expo-font'; import createIconSet from './vendor/react-native-vector-icons/lib/create-icon-set'; import createIconButtonComponent from './vendor/react-native-vector-icons/lib/icon-button'; @@ -8,18 +8,27 @@ export default function(glyphMap, fontName, expoAssetId) { const font = { [fontName]: expoAssetId }; const RNVIconComponent = createIconSet(glyphMap, fontName); - class Icon extends React.Component { + return class Icon extends React.Component { static propTypes = RNVIconComponent.propTypes; static defaultProps = RNVIconComponent.defaultProps; + static Button = createIconButtonComponent(Icon); + static glyphMap = glyphMap; + static getRawGlyphMap = () => glyphMap; + static getFontFamily = () => fontName; + static loadFont = () => loadAsync(font); + static font = font; + + _mounted = false; + _icon?: any; state = { - fontIsLoaded: Font.isLoaded(fontName), + fontIsLoaded: isLoaded(fontName), }; async componentWillMount() { this._mounted = true; if (!this.state.fontIsLoaded) { - await Font.loadAsync(font); + await loadAsync(font); this._mounted && this.setState({ fontIsLoaded: true }); } } @@ -48,18 +57,5 @@ export default function(glyphMap, fontName, expoAssetId) { /> ); } - } - - function getRawGlyphMap() { - return glyphMap; - } - - Icon.Button = createIconButtonComponent(Icon); - Icon.glyphMap = glyphMap; - Icon.getRawGlyphMap = getRawGlyphMap; - Icon.getFontFamily = () => fontName; - Icon.loadFont = () => Font.loadAsync(font); - Icon.font = font; - - return Icon; + }; } diff --git a/createIconSetFromFontello.js b/src/createIconSetFromFontello.ts similarity index 100% rename from createIconSetFromFontello.js rename to src/createIconSetFromFontello.ts diff --git a/createIconSetFromIcoMoon.js b/src/createIconSetFromIcoMoon.ts similarity index 100% rename from createIconSetFromIcoMoon.js rename to src/createIconSetFromIcoMoon.ts diff --git a/fonts/AntDesign.ttf b/src/fonts/AntDesign.ttf similarity index 100% rename from fonts/AntDesign.ttf rename to src/fonts/AntDesign.ttf diff --git a/fonts/Entypo.ttf b/src/fonts/Entypo.ttf similarity index 100% rename from fonts/Entypo.ttf rename to src/fonts/Entypo.ttf diff --git a/fonts/EvilIcons.ttf b/src/fonts/EvilIcons.ttf similarity index 100% rename from fonts/EvilIcons.ttf rename to src/fonts/EvilIcons.ttf diff --git a/fonts/Feather.ttf b/src/fonts/Feather.ttf similarity index 100% rename from fonts/Feather.ttf rename to src/fonts/Feather.ttf diff --git a/fonts/FontAwesome.ttf b/src/fonts/FontAwesome.ttf similarity index 100% rename from fonts/FontAwesome.ttf rename to src/fonts/FontAwesome.ttf diff --git a/fonts/FontAwesome5_Brands.ttf b/src/fonts/FontAwesome5_Brands.ttf similarity index 100% rename from fonts/FontAwesome5_Brands.ttf rename to src/fonts/FontAwesome5_Brands.ttf diff --git a/fonts/FontAwesome5_Regular.ttf b/src/fonts/FontAwesome5_Regular.ttf similarity index 100% rename from fonts/FontAwesome5_Regular.ttf rename to src/fonts/FontAwesome5_Regular.ttf diff --git a/fonts/FontAwesome5_Solid.ttf b/src/fonts/FontAwesome5_Solid.ttf similarity index 100% rename from fonts/FontAwesome5_Solid.ttf rename to src/fonts/FontAwesome5_Solid.ttf diff --git a/fonts/Foundation.ttf b/src/fonts/Foundation.ttf similarity index 100% rename from fonts/Foundation.ttf rename to src/fonts/Foundation.ttf diff --git a/fonts/Ionicons.ttf b/src/fonts/Ionicons.ttf similarity index 100% rename from fonts/Ionicons.ttf rename to src/fonts/Ionicons.ttf diff --git a/fonts/MaterialCommunityIcons.ttf b/src/fonts/MaterialCommunityIcons.ttf similarity index 100% rename from fonts/MaterialCommunityIcons.ttf rename to src/fonts/MaterialCommunityIcons.ttf diff --git a/fonts/MaterialIcons.ttf b/src/fonts/MaterialIcons.ttf similarity index 100% rename from fonts/MaterialIcons.ttf rename to src/fonts/MaterialIcons.ttf diff --git a/fonts/Octicons.ttf b/src/fonts/Octicons.ttf similarity index 100% rename from fonts/Octicons.ttf rename to src/fonts/Octicons.ttf diff --git a/fonts/SimpleLineIcons.ttf b/src/fonts/SimpleLineIcons.ttf similarity index 100% rename from fonts/SimpleLineIcons.ttf rename to src/fonts/SimpleLineIcons.ttf diff --git a/fonts/Zocial.ttf b/src/fonts/Zocial.ttf similarity index 100% rename from fonts/Zocial.ttf rename to src/fonts/Zocial.ttf diff --git a/iconFontSources.js b/src/iconFontSources.ts similarity index 100% rename from iconFontSources.js rename to src/iconFontSources.ts diff --git a/src/typings.d.ts b/src/typings.d.ts new file mode 100644 index 0000000..cd0f27a --- /dev/null +++ b/src/typings.d.ts @@ -0,0 +1,6 @@ +declare module '*.ttf'; + +declare module '*.json' { + const value: any; + export default value; +} diff --git a/vendor/react-native-vector-icons/.editorconfig b/src/vendor/react-native-vector-icons/.editorconfig similarity index 100% rename from vendor/react-native-vector-icons/.editorconfig rename to src/vendor/react-native-vector-icons/.editorconfig diff --git a/vendor/react-native-vector-icons/.eslintrc b/src/vendor/react-native-vector-icons/.eslintrc similarity index 100% rename from vendor/react-native-vector-icons/.eslintrc rename to src/vendor/react-native-vector-icons/.eslintrc diff --git a/vendor/react-native-vector-icons/AntDesign.js b/src/vendor/react-native-vector-icons/AntDesign.js similarity index 100% rename from vendor/react-native-vector-icons/AntDesign.js rename to src/vendor/react-native-vector-icons/AntDesign.js diff --git a/vendor/react-native-vector-icons/BUILDING_FEATHER.md b/src/vendor/react-native-vector-icons/BUILDING_FEATHER.md similarity index 100% rename from vendor/react-native-vector-icons/BUILDING_FEATHER.md rename to src/vendor/react-native-vector-icons/BUILDING_FEATHER.md diff --git a/vendor/react-native-vector-icons/CONTRIBUTING.md b/src/vendor/react-native-vector-icons/CONTRIBUTING.md similarity index 100% rename from vendor/react-native-vector-icons/CONTRIBUTING.md rename to src/vendor/react-native-vector-icons/CONTRIBUTING.md diff --git a/vendor/react-native-vector-icons/Entypo.js b/src/vendor/react-native-vector-icons/Entypo.js similarity index 100% rename from vendor/react-native-vector-icons/Entypo.js rename to src/vendor/react-native-vector-icons/Entypo.js diff --git a/vendor/react-native-vector-icons/EvilIcons.js b/src/vendor/react-native-vector-icons/EvilIcons.js similarity index 100% rename from vendor/react-native-vector-icons/EvilIcons.js rename to src/vendor/react-native-vector-icons/EvilIcons.js diff --git a/vendor/react-native-vector-icons/FONTAWESOME5.md b/src/vendor/react-native-vector-icons/FONTAWESOME5.md similarity index 100% rename from vendor/react-native-vector-icons/FONTAWESOME5.md rename to src/vendor/react-native-vector-icons/FONTAWESOME5.md diff --git a/vendor/react-native-vector-icons/Feather.js b/src/vendor/react-native-vector-icons/Feather.js similarity index 100% rename from vendor/react-native-vector-icons/Feather.js rename to src/vendor/react-native-vector-icons/Feather.js diff --git a/vendor/react-native-vector-icons/FontAwesome.js b/src/vendor/react-native-vector-icons/FontAwesome.js similarity index 100% rename from vendor/react-native-vector-icons/FontAwesome.js rename to src/vendor/react-native-vector-icons/FontAwesome.js diff --git a/vendor/react-native-vector-icons/FontAwesome5.js b/src/vendor/react-native-vector-icons/FontAwesome5.js similarity index 100% rename from vendor/react-native-vector-icons/FontAwesome5.js rename to src/vendor/react-native-vector-icons/FontAwesome5.js diff --git a/vendor/react-native-vector-icons/FontAwesome5Pro.js b/src/vendor/react-native-vector-icons/FontAwesome5Pro.js similarity index 100% rename from vendor/react-native-vector-icons/FontAwesome5Pro.js rename to src/vendor/react-native-vector-icons/FontAwesome5Pro.js diff --git a/vendor/react-native-vector-icons/Fonts/AntDesign.ttf b/src/vendor/react-native-vector-icons/Fonts/AntDesign.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/AntDesign.ttf rename to src/vendor/react-native-vector-icons/Fonts/AntDesign.ttf diff --git a/vendor/react-native-vector-icons/Fonts/Entypo.ttf b/src/vendor/react-native-vector-icons/Fonts/Entypo.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/Entypo.ttf rename to src/vendor/react-native-vector-icons/Fonts/Entypo.ttf diff --git a/vendor/react-native-vector-icons/Fonts/EvilIcons.ttf b/src/vendor/react-native-vector-icons/Fonts/EvilIcons.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/EvilIcons.ttf rename to src/vendor/react-native-vector-icons/Fonts/EvilIcons.ttf diff --git a/vendor/react-native-vector-icons/Fonts/Feather.ttf b/src/vendor/react-native-vector-icons/Fonts/Feather.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/Feather.ttf rename to src/vendor/react-native-vector-icons/Fonts/Feather.ttf diff --git a/vendor/react-native-vector-icons/Fonts/FontAwesome.ttf b/src/vendor/react-native-vector-icons/Fonts/FontAwesome.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/FontAwesome.ttf rename to src/vendor/react-native-vector-icons/Fonts/FontAwesome.ttf diff --git a/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf b/src/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf rename to src/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf diff --git a/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf b/src/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf rename to src/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf diff --git a/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf b/src/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf rename to src/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf diff --git a/vendor/react-native-vector-icons/Fonts/Foundation.ttf b/src/vendor/react-native-vector-icons/Fonts/Foundation.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/Foundation.ttf rename to src/vendor/react-native-vector-icons/Fonts/Foundation.ttf diff --git a/vendor/react-native-vector-icons/Fonts/Ionicons.ttf b/src/vendor/react-native-vector-icons/Fonts/Ionicons.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/Ionicons.ttf rename to src/vendor/react-native-vector-icons/Fonts/Ionicons.ttf diff --git a/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf b/src/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf rename to src/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf diff --git a/vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf b/src/vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf rename to src/vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf diff --git a/vendor/react-native-vector-icons/Fonts/Octicons.ttf b/src/vendor/react-native-vector-icons/Fonts/Octicons.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/Octicons.ttf rename to src/vendor/react-native-vector-icons/Fonts/Octicons.ttf diff --git a/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf b/src/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf rename to src/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf diff --git a/vendor/react-native-vector-icons/Fonts/Zocial.ttf b/src/vendor/react-native-vector-icons/Fonts/Zocial.ttf similarity index 100% rename from vendor/react-native-vector-icons/Fonts/Zocial.ttf rename to src/vendor/react-native-vector-icons/Fonts/Zocial.ttf diff --git a/vendor/react-native-vector-icons/Foundation.js b/src/vendor/react-native-vector-icons/Foundation.js similarity index 100% rename from vendor/react-native-vector-icons/Foundation.js rename to src/vendor/react-native-vector-icons/Foundation.js diff --git a/vendor/react-native-vector-icons/Ionicons.js b/src/vendor/react-native-vector-icons/Ionicons.js similarity index 100% rename from vendor/react-native-vector-icons/Ionicons.js rename to src/vendor/react-native-vector-icons/Ionicons.js diff --git a/vendor/react-native-vector-icons/LICENSE b/src/vendor/react-native-vector-icons/LICENSE similarity index 100% rename from vendor/react-native-vector-icons/LICENSE rename to src/vendor/react-native-vector-icons/LICENSE diff --git a/vendor/react-native-vector-icons/MaterialCommunityIcons.js b/src/vendor/react-native-vector-icons/MaterialCommunityIcons.js similarity index 100% rename from vendor/react-native-vector-icons/MaterialCommunityIcons.js rename to src/vendor/react-native-vector-icons/MaterialCommunityIcons.js diff --git a/vendor/react-native-vector-icons/MaterialIcons.js b/src/vendor/react-native-vector-icons/MaterialIcons.js similarity index 100% rename from vendor/react-native-vector-icons/MaterialIcons.js rename to src/vendor/react-native-vector-icons/MaterialIcons.js diff --git a/vendor/react-native-vector-icons/Octicons.js b/src/vendor/react-native-vector-icons/Octicons.js similarity index 100% rename from vendor/react-native-vector-icons/Octicons.js rename to src/vendor/react-native-vector-icons/Octicons.js diff --git a/vendor/react-native-vector-icons/README.md b/src/vendor/react-native-vector-icons/README.md similarity index 100% rename from vendor/react-native-vector-icons/README.md rename to src/vendor/react-native-vector-icons/README.md diff --git a/vendor/react-native-vector-icons/RNIMigration.js b/src/vendor/react-native-vector-icons/RNIMigration.js similarity index 100% rename from vendor/react-native-vector-icons/RNIMigration.js rename to src/vendor/react-native-vector-icons/RNIMigration.js diff --git a/vendor/react-native-vector-icons/SimpleLineIcons.js b/src/vendor/react-native-vector-icons/SimpleLineIcons.js similarity index 100% rename from vendor/react-native-vector-icons/SimpleLineIcons.js rename to src/vendor/react-native-vector-icons/SimpleLineIcons.js diff --git a/vendor/react-native-vector-icons/Zocial.js b/src/vendor/react-native-vector-icons/Zocial.js similarity index 100% rename from vendor/react-native-vector-icons/Zocial.js rename to src/vendor/react-native-vector-icons/Zocial.js diff --git a/vendor/react-native-vector-icons/bin/add-font-assets.js b/src/vendor/react-native-vector-icons/bin/add-font-assets.js similarity index 100% rename from vendor/react-native-vector-icons/bin/add-font-assets.js rename to src/vendor/react-native-vector-icons/bin/add-font-assets.js diff --git a/vendor/react-native-vector-icons/bin/fa5-upgrade.sh b/src/vendor/react-native-vector-icons/bin/fa5-upgrade.sh similarity index 100% rename from vendor/react-native-vector-icons/bin/fa5-upgrade.sh rename to src/vendor/react-native-vector-icons/bin/fa5-upgrade.sh diff --git a/vendor/react-native-vector-icons/bin/generate-fontawesome5-metadata.js b/src/vendor/react-native-vector-icons/bin/generate-fontawesome5-metadata.js similarity index 100% rename from vendor/react-native-vector-icons/bin/generate-fontawesome5-metadata.js rename to src/vendor/react-native-vector-icons/bin/generate-fontawesome5-metadata.js diff --git a/vendor/react-native-vector-icons/bin/generate-icon.js b/src/vendor/react-native-vector-icons/bin/generate-icon.js similarity index 100% rename from vendor/react-native-vector-icons/bin/generate-icon.js rename to src/vendor/react-native-vector-icons/bin/generate-icon.js diff --git a/vendor/react-native-vector-icons/bin/generate-material-icons.js b/src/vendor/react-native-vector-icons/bin/generate-material-icons.js similarity index 100% rename from vendor/react-native-vector-icons/bin/generate-material-icons.js rename to src/vendor/react-native-vector-icons/bin/generate-material-icons.js diff --git a/vendor/react-native-vector-icons/bower.json b/src/vendor/react-native-vector-icons/bower.json similarity index 100% rename from vendor/react-native-vector-icons/bower.json rename to src/vendor/react-native-vector-icons/bower.json diff --git a/vendor/react-native-vector-icons/fonts.gradle b/src/vendor/react-native-vector-icons/fonts.gradle similarity index 100% rename from vendor/react-native-vector-icons/fonts.gradle rename to src/vendor/react-native-vector-icons/fonts.gradle diff --git a/vendor/react-native-vector-icons/glyphmaps/AntDesign.json b/src/vendor/react-native-vector-icons/glyphmaps/AntDesign.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/AntDesign.json rename to src/vendor/react-native-vector-icons/glyphmaps/AntDesign.json diff --git a/vendor/react-native-vector-icons/glyphmaps/Entypo.json b/src/vendor/react-native-vector-icons/glyphmaps/Entypo.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/Entypo.json rename to src/vendor/react-native-vector-icons/glyphmaps/Entypo.json diff --git a/vendor/react-native-vector-icons/glyphmaps/EvilIcons.json b/src/vendor/react-native-vector-icons/glyphmaps/EvilIcons.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/EvilIcons.json rename to src/vendor/react-native-vector-icons/glyphmaps/EvilIcons.json diff --git a/vendor/react-native-vector-icons/glyphmaps/Feather.json b/src/vendor/react-native-vector-icons/glyphmaps/Feather.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/Feather.json rename to src/vendor/react-native-vector-icons/glyphmaps/Feather.json diff --git a/vendor/react-native-vector-icons/glyphmaps/FontAwesome.json b/src/vendor/react-native-vector-icons/glyphmaps/FontAwesome.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/FontAwesome.json rename to src/vendor/react-native-vector-icons/glyphmaps/FontAwesome.json diff --git a/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json b/src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json rename to src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free.json diff --git a/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json b/src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json rename to src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Free_meta.json diff --git a/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro.json b/src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro.json rename to src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro.json diff --git a/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro_meta.json b/src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro_meta.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro_meta.json rename to src/vendor/react-native-vector-icons/glyphmaps/FontAwesome5Pro_meta.json diff --git a/vendor/react-native-vector-icons/glyphmaps/Foundation.json b/src/vendor/react-native-vector-icons/glyphmaps/Foundation.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/Foundation.json rename to src/vendor/react-native-vector-icons/glyphmaps/Foundation.json diff --git a/vendor/react-native-vector-icons/glyphmaps/Ionicons.json b/src/vendor/react-native-vector-icons/glyphmaps/Ionicons.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/Ionicons.json rename to src/vendor/react-native-vector-icons/glyphmaps/Ionicons.json diff --git a/vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json b/src/vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json rename to src/vendor/react-native-vector-icons/glyphmaps/MaterialCommunityIcons.json diff --git a/vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json b/src/vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json rename to src/vendor/react-native-vector-icons/glyphmaps/MaterialIcons.json diff --git a/vendor/react-native-vector-icons/glyphmaps/Octicons.json b/src/vendor/react-native-vector-icons/glyphmaps/Octicons.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/Octicons.json rename to src/vendor/react-native-vector-icons/glyphmaps/Octicons.json diff --git a/vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json b/src/vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json rename to src/vendor/react-native-vector-icons/glyphmaps/SimpleLineIcons.json diff --git a/vendor/react-native-vector-icons/glyphmaps/Zocial.json b/src/vendor/react-native-vector-icons/glyphmaps/Zocial.json similarity index 100% rename from vendor/react-native-vector-icons/glyphmaps/Zocial.json rename to src/vendor/react-native-vector-icons/glyphmaps/Zocial.json diff --git a/vendor/react-native-vector-icons/index.js b/src/vendor/react-native-vector-icons/index.js similarity index 100% rename from vendor/react-native-vector-icons/index.js rename to src/vendor/react-native-vector-icons/index.js diff --git a/vendor/react-native-vector-icons/lib/create-icon-set-from-fontawesome5.js b/src/vendor/react-native-vector-icons/lib/create-icon-set-from-fontawesome5.js similarity index 100% rename from vendor/react-native-vector-icons/lib/create-icon-set-from-fontawesome5.js rename to src/vendor/react-native-vector-icons/lib/create-icon-set-from-fontawesome5.js diff --git a/vendor/react-native-vector-icons/lib/create-icon-set-from-fontello.js b/src/vendor/react-native-vector-icons/lib/create-icon-set-from-fontello.js similarity index 100% rename from vendor/react-native-vector-icons/lib/create-icon-set-from-fontello.js rename to src/vendor/react-native-vector-icons/lib/create-icon-set-from-fontello.js diff --git a/vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon.js b/src/vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon.js similarity index 100% rename from vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon.js rename to src/vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon.js diff --git a/vendor/react-native-vector-icons/lib/create-icon-set.js b/src/vendor/react-native-vector-icons/lib/create-icon-set.js similarity index 100% rename from vendor/react-native-vector-icons/lib/create-icon-set.js rename to src/vendor/react-native-vector-icons/lib/create-icon-set.js diff --git a/vendor/react-native-vector-icons/lib/ensure-native-module-available.js b/src/vendor/react-native-vector-icons/lib/ensure-native-module-available.js similarity index 100% rename from vendor/react-native-vector-icons/lib/ensure-native-module-available.js rename to src/vendor/react-native-vector-icons/lib/ensure-native-module-available.js diff --git a/vendor/react-native-vector-icons/lib/generate-icon-set-from-css.js b/src/vendor/react-native-vector-icons/lib/generate-icon-set-from-css.js similarity index 100% rename from vendor/react-native-vector-icons/lib/generate-icon-set-from-css.js rename to src/vendor/react-native-vector-icons/lib/generate-icon-set-from-css.js diff --git a/vendor/react-native-vector-icons/lib/icon-button.js b/src/vendor/react-native-vector-icons/lib/icon-button.js similarity index 100% rename from vendor/react-native-vector-icons/lib/icon-button.js rename to src/vendor/react-native-vector-icons/lib/icon-button.js diff --git a/vendor/react-native-vector-icons/lib/tab-bar-item-ios.js b/src/vendor/react-native-vector-icons/lib/tab-bar-item-ios.js similarity index 100% rename from vendor/react-native-vector-icons/lib/tab-bar-item-ios.js rename to src/vendor/react-native-vector-icons/lib/tab-bar-item-ios.js diff --git a/vendor/react-native-vector-icons/lib/toolbar-android.js b/src/vendor/react-native-vector-icons/lib/toolbar-android.js similarity index 100% rename from vendor/react-native-vector-icons/lib/toolbar-android.js rename to src/vendor/react-native-vector-icons/lib/toolbar-android.js diff --git a/vendor/react-native-vector-icons/templates/bundled-icon-set.tpl b/src/vendor/react-native-vector-icons/templates/bundled-icon-set.tpl similarity index 100% rename from vendor/react-native-vector-icons/templates/bundled-icon-set.tpl rename to src/vendor/react-native-vector-icons/templates/bundled-icon-set.tpl diff --git a/vendor/react-native-vector-icons/templates/separated-icon-set.tpl b/src/vendor/react-native-vector-icons/templates/separated-icon-set.tpl similarity index 100% rename from vendor/react-native-vector-icons/templates/separated-icon-set.tpl rename to src/vendor/react-native-vector-icons/templates/separated-icon-set.tpl diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..a24ec0f --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,9 @@ +// @generated by expo-module-scripts +{ + "extends": "expo-module-scripts/tsconfig.base", + "compilerOptions": { + "outDir": "./build" + }, + "include": ["./src"], + "exclude": ["**/__mocks__/*", "**/__tests__/*"] +}