Follow 3 simple steps to add a custom font family.
We extend the theme object and override
fonts properties which define the mappings.
This mapping is needed to make sure fontWeight, fontStyle properties work in all platforms.
Fonts can be used as shown below. The below
Text will be rendered in
Roboto-MediumItalic font family.