Skip to content

How to add custom fonts #39

Description

@yuliantosb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions