@amazon-devices/expo-font provides an interface to load fonts at runtime and use them in React Native components.
Installation
-
Add the JavaScript library dependency in the
package.jsonfile. -
Reinstall dependencies using the
npm installcommand.
Examples
The example below demonstrates how to load fonts with theuseFonts hook. You need to download the .otf file and replace the content inside the useFonts call.

