expo-font module (#2989)

* expo-font module

* [expo-font-interface] Move FontManager interface to expo-font-interface

* [expo-font-interface] Remove obsolete dependencies from expo-font-interface

* [expo-font] Refactor interfaces and logic flow

* [expo-font-interface] Rename EXFontX to EXFontXInterface

* [expo-react-native-adapter] Add a small explanation to EXReactFontManager

* [expo-font] Minor fixes

* [home] Publish new Expo Home

* [jest-expo] fix mock-generator and update mocks

* [font] fix client tests and rename module ExponentFontLoader -> ExpoFontLoader

fbshipit-source-id: 5fbf23a
This commit is contained in:
Dominik Gryboś
2018-08-23 07:05:09 +00:00
committed by Exponent GitHub Bot
parent c7aeb3e4d5
commit a8647342d8
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import React from 'react';
import { Text } from 'react-native';
import { Font } from 'expo';
import { Font } 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';
+1 -1
View File
@@ -1,4 +1,4 @@
import { Font } from 'expo';
import { Font } from 'expo-font';
import createIconSetFromIcoMoon from './vendor/react-native-vector-icons/lib/create-icon-set-from-icomoon';
export default function(config, expoFontName, expoAssetId) {
+2 -1
View File
@@ -19,7 +19,8 @@
"homepage": "https://expo.github.io/vector-icons",
"dependencies": {
"lodash": "^4.17.4",
"react-native-vector-icons": "4.5.0"
"react-native-vector-icons": "4.5.0",
"expo-font": "^1.0.0"
},
"devDependencies": {}
}