Answers for "react native link fonts"

0

added font to react native

$ npx react-native link
Posted by: Guest on August-18-2021
1

how to link custom fonts in react native

$ react-native link
Posted by: Guest on January-05-2021
4

react native link fonts

// create a folder in your root directory /assets/fonts/ 
// paste the custom fonts you want used in that folder
// create a file in the root called react-native.config.js
// Then add the following:

module.exports = {
  project: {
    ios: {},
    android: {},
  },
  assets: ['./assets/fonts'],
};

// then run 

react-native link
Posted by: Guest on April-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language