Text component which follows styles from the theme. Beside Text component also merge props with
– Typography: ./app/config/typography.js
– FontWeight: ./app/config/typography.js
– Color: ./app/config/color.js
Refer more at Theming
Usage
// Text with medium size format body2 & white color & FontWeight > semibold <Text body2 whiteColor semibold> Body2 </Text> // Text with small format overline <Text overline semibold> Overline </Text> |
Props
style
Type: StyleProp
Following React Native Text Props