Replies: 1 comment
-
Maybe I have to define
Note the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After creating a custom theme, I tried to access a custom font variant in a React Functional Component like this:
I followed the instructions in the official react-native-paper's site to create the custom theme and 'useAppTheme' like this:
But unfortunately
console.log('bold: ', theme.fonts.bold)
prints "bold: undefined" and my VSCode editor says "Property 'bold' does not exist on type 'MD3Typescale'.ts(2339)".So what am I missing?
Beta Was this translation helpful? Give feedback.
All reactions