GT2/GT2-Android/node_modules/react-native-vector-icons/dist/lib/create-icon-set-from-icomoo...

1 line
622 B
JavaScript

Object.defineProperty(exports,"__esModule",{value:true});exports.default=createIconSetFromIcoMoon;var _createIconSet=require('./create-icon-set');var _createIconSet2=_interopRequireDefault(_createIconSet);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function createIconSetFromIcoMoon(config,fontFamilyArg,fontFile){var glyphMap={};config.icons.forEach(function(icon){glyphMap[icon.properties.name]=icon.properties.code;});var fontFamily=fontFamilyArg||config.preferences.fontPref.metadata.fontFamily;return(0,_createIconSet2.default)(glyphMap,fontFamily,fontFile||fontFamily+'.ttf');}