Updated all font files to use import instead of require

This commit is contained in:
Evan Bacon
2019-02-27 13:44:46 -08:00
parent fb3dde5271
commit b1639e91a0
12 changed files with 36 additions and 28 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
import glyphMap from './vendor/react-native-vector-icons/glyphmaps/AntDesign.json';
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', require('./fonts/AntDesign.ttf'));
export default createIconSet(glyphMap, 'anticon', font);