react-native v0.0.1-alpha.28
almost 2 years ago by ReadMe API
What’s new:
- introduced
useFontshook which would returnsetFontsfunction that could be used by integrators to set their custom font family. Integrators has to set corresponding font for each typeface i.e set font for regular, bold, italic, semi bold etc. - introduced
LLTextcomponent which is used in every component instead ofTextto get applied custom fonts. - introduced
useCustomFontStylehook which returns an evaluated styles forTextbased Component based on fontWeight and fontStyle, these tweaked style are needed because of platform (IOS & Android) limitation for custom fonts. - introduced
useFontFamilyhook which returns an evaluated fontFamily based on fontWeight and fontStyle.
