However I still have the same error ("fontFamily : 'OpenSans-SemiBold" is not a system font and has not been loaded through Font.loadAsync")... I don't understand why, I have checked and re-checked my code but it still doesn't work. Can you help me to figure it out ?
Welcome tag moderator AKA Unofficial DEV cheerleader. While most of my friends are found on SnapChat or Tic-Toc, you can find me here. And I OOP, but I’m not a VSCO girl.
Hi Emma, I'm Katie, welcome to the DEV community!
I see you are new here and already asking questions which is great!
I'm sure you'll find lots of help and support on DEV for all your coding needs.
Hey, thanks for you article !
However I still have the same error ("fontFamily : 'OpenSans-SemiBold" is not a system font and has not been loaded through Font.loadAsync")... I don't understand why, I have checked and re-checked my code but it still doesn't work. Can you help me to figure it out ?
screen of my code:
drive.google.com/file/d/1filV2ZK9Y...
Hi Emma, I'm Katie, welcome to the DEV community!
I see you are new here and already asking questions which is great!
I'm sure you'll find lots of help and support on DEV for all your coding needs.
Me too, same stetps and same error. Did you solve it Emma?
thanks
Im using this method with Expo react native:
first install the relative npm packages, in my case im using "tajawal" font
in App.js:
Then
then i pass (TajawalFontFamily ) as prop to my component
in Home component:
Dear Emma & Alex,
Sorry for the late reply. You can download a version from my github, compare it with your code and try for yourself. :)
github.com/edobegagic/loadfont
Hope this helps :)
Im using this method with Expo react native:
first install the relative npm packages, in my case im using "tajawal" font
in App.js:
Then
then i pass (TajawalFontFamily ) as prop to my component
in Home component: