Skip to content
Discussion options

You must be logged in to vote

You can set your own typography presets or override the existing ones and pass whatever font prop you want: fontSize, fontFamily, fontWeight, lineHeight, letterSpacing, etc..

You can use Typography.loadTypographies({myFont: {...}, text70: {...}});

It's important to notice that Android and iOS works a little different when it comes to font.
Sometimes the weight of a font is determined by the fontFamily and sometimes you need to pass the fontWeight

You can see for example how we set our internal typographies here

const text10: TextStyle = {

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Yasir5247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants