Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
104
rated 0 times [  109] [ 5]  / answers: 1 / hits: 6797  / 2 Years ago, tue, july 5, 2022, 12:00:00

I want to use a custom font family in my react-native project for that when I run the command


npx react-native link

it shows me the error error Unrecognized command "link". As I checked this may be because react-native removed the link command from the latest version of react-native.


So that I want to know how I can link the font family without using the react-native link command. I'm using the following version of react and react-native


"react": "18.0.0",
"react-native": "0.69.1",

Lastly Thank You For Your Help In Advance.


More From » reactjs

 Answers
11

You can use the following command: npx react-native-asset.


[#76] Friday, June 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reed

Total Points: 725
Total Questions: 85
Total Answers: 89

Location: Singapore
Member since Sat, Jul 25, 2020
4 Years ago
;