Text Style Props
Props
color
containerBackgroundColor
fontFamily
fontSize
fontStyle
fontWeight
letterSpacing
lineHeight
textAlign
writingDirection
Reference
Props
color
Type | Required |
---|---|
string | No |
containerBackgroundColor
Type | Required |
---|---|
string | No |
fontFamily
Type | Required |
---|---|
string | No |
fontSize
Type | Required |
---|---|
number | No |
fontStyle
Type | Required |
---|---|
enum('normal', 'italic') | No |
fontWeight
Type | Required |
---|---|
enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900') | No |
letterSpacing
Type | Required |
---|---|
number | No |
lineHeight
Type | Required |
---|---|
number | No |
textAlign
Type | Required |
---|---|
enum('auto', 'left', 'right', 'center') | No |
writingDirection
Type | Required |
---|---|
enum('auto', 'ltr', 'rtl') | No |