Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add custom fonts #39

Open
yuliantosb opened this issue Aug 4, 2022 · 0 comments
Open

How to add custom fonts #39

yuliantosb opened this issue Aug 4, 2022 · 0 comments

Comments

@yuliantosb
Copy link

Hello, I want to ask how to add custom fonts, I already create react-native.config.js and add this line

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

but when I run npx react-native link I got error

error Linking assets failed.
TypeError: Cannot read properties of null (reading 'files')

Is there any solution for this? Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant