Using Custom Fonts

I’ve read the documentation of “Using Custom Fonts” and followed it. It worked but as i do the same procedure on any other screen rather than “App.js” it fails. I’m trying to make it work with functions based component but it doesn’t work. Does anyone know how to use custom fonts with a function based component?

Please post some of the code that you’ve tried. Also please explain a bit about your directory structure.

Please paste the code as text using the Preformatted Text button.