[native-stack] `headerLargeTitleStyle` isn't accepting any Expo fonts
See original GitHub issueMoved from react-navigation/react-navigation#6750. Originally opened by @iDuuck
Current Behavior
When I am trying to include a custom font into Expo, I am not able to use it using the native stack navigators fontFamily
attributes. It keeps the SF Font.
Expected Behavior
I want the font to be the right one actually.
How to reproduce
Implement a custom font into an Expo project and try to use the font for any of the title styles.
Your Environment
software | version |
---|---|
iOS or Android | iOS |
@react-navigation/native | next |
@react-navigation/native-stack | ^5.0.0-alpha.29 |
react-native-screens | ^5.0.0-alpha.29 |
react-native | https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz |
expo | 36 |
node | v12.8.0 |
npm or yarn | 1.19.2 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
headerLargeTitleStyle isn't accepting any Expo fonts #6750
When I am trying to include a custom font into Expo, I am not able to use it using the native stack navigators...
Read more >Expo React Native project getting error when I use custom ...
Expo React Native project getting error when I use custom google fonts and AppLoading in my project. Thank you in advance for your...
Read more >Native Stack Navigator | React Navigation
Native Stack Navigator provides a way for your app to transition between screens where each new screen is placed on top of a...
Read more >Custom fonts - Expo Documentation
This documentation covers the aspects of getting a custom font, loading it in your project and what are some of the best practices...
Read more >How to use Custom Fonts in React Native Expo - YouTube
In this video, we look at how to use custom fonts in your react native expo application.GET SOURCE CODE 📀⬇️🔴 Get Project Source...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Hirbod Native-stack belonged to react-navigation before this issue was moved. Now it seems a little abandoned. No documentation and no Changelog or so.
I made a PR: #442. Can you check if it resolves the issue?