Text
Text displays words and characters of various sizes.
Usage#
Props#
Text#
Reference#
Text#
h1#
Text with Font size 40.
| Type | Default |
|---|---|
| boolean | false |
h1Style#
Styling when h1 is set.
| Type | Default |
|---|---|
| Text Style(Object) | {} |
h2#
Text with Font size 34.
| Type | Default |
|---|---|
| boolean | false |
h2Style#
Styling when h2 is set.
| Type | Default |
|---|---|
| Text Style(Object) | {} |
h3#
Text with Font size 28.
| Type | Default |
|---|---|
| boolean | false |
h3Style#
Styling when h3 is set.
| Type | Default |
|---|---|
| Text Style(Object) | {} |
h4#
Text with Font size 22.
| Type | Default |
|---|---|
| boolean | false |
h4Style#
Styling when h3 is set.
| Type | Default |
|---|---|
| Text Style(Object) | {} |
style#
Add additional styling for Text.
@see https://reactnative.dev/docs/text#style
| Type | Default |
|---|---|
| Text Style(Object) | {} |