Variables
Const fontStyleLetterSpacing
fontStyleLetterSpacing: 0 = 0
Const fontStyleLineHeight
fontStyleLineHeight: 1.6 = 1.6
Const fontStyleSlope
fontStyleSlope: "italic" = "italic"
Const letterSpacing
letterSpacing: 0 = fontStyleLetterSpacing
Const lineHeight
lineHeight: 1.6 = fontStyleLineHeight
Const slope
slope: "italic" = fontStyleSlope
The base that is used for the IFontStyleOptions. This means that the divisions can be either a
number
or a full style for the division.import { FontStyle } from '@ef-carbon/react-native-style'; const fontStyle = new FontStyle({ base: { 300: { fontSize: 9, letterSpacing: 0, lineHeight: 16, fontWeight: 'bold', fontStyle: 'italic', }, 500: 16, 700: 25, } });