Font Weight
Control the thickness or boldness of text.
Import​
src/screens/Component.js
import { text } from "nativeflowcss";
Properties​
Object | Native Properties |
---|---|
text.fw_thin | { fontWeight: '100' } |
text.fw_extralight | { fontWeight: '200' } |
text.fw_light | { fontWeight: '300' } |
text.fw_normal | { fontWeight: '400' } |
text.fw_medium | { fontWeight: '500' } |
text.fw_semibold | { fontWeight: '600' } |
text.fw_bold | { fontWeight: '700' } |
text.fw_extrabold | { fontWeight: '800' } |
text.fw_black | { fontWeight: '900' } |