@expo-google-fonts/dev 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,22 +1,18 @@
1
1
  # @expo-google-fonts/dev
2
2
 
3
-
4
3
  If you are trying out lots of different fonts, you can try using the [`@expo-google-fonts/dev` package](https://github.com/expo/google-fonts/tree/master/font-packages/dev#readme).
5
4
 
6
- You can import *any* font style from any Expo Google Fonts package from it. It will load the fonts
7
- over the network at runtime instead of adding the asset as a file to your project, so it may take longer
8
- for your app to get to interactivity at startup, but it is extremely convenient
9
- for playing around with any style that you want.
5
+ You can import _any_ font style from any Expo Google Fonts package from it. It will load the fonts over the network at runtime instead of adding the asset as a file to your project, so it may take longer for your app to get to interactivity at startup, but it is extremely convenient for playing around with any style that you want.
6
+
10
7
 
11
8
  ## Usage
12
9
 
13
- Usage is the same as any individual Expo Google Fonts package except that
14
- you can important any font variant from any font family from `@expo-google-fonts/dev`.
10
+ Usage is the same as any individual Expo Google Fonts package except that you can important any font variant from any font family from `@expo-google-fonts/dev`.
15
11
 
16
12
  #### Install the package
17
13
 
18
14
  ```js
19
- expo install @expo-google-fonts/dev expo-font expo-app-loading
15
+ npx expo install @expo-google-fonts/dev expo-font
20
16
  ```
21
17
 
22
18
  #### In your app
@@ -28,8 +24,7 @@ import {
28
24
  Lato_400Regular,
29
25
  Inter_900Black,
30
26
  } from '@expo-google-fonts/dev';
31
- ...
27
+ // ...
32
28
  ```
33
29
 
34
30
  etc.
35
-