Skip to main content
Version: Next

Text

Text displays words and characters of various sizes.

Usage#


Props#

Text#

Reference#

Text#

h1#

Text with Font size 40.

TypeDefault
booleanfalse

h1Style#

Styling when h1 is set.

TypeDefault
Text Style(Object){}

h2#

Text with Font size 34.

TypeDefault
booleanfalse

h2Style#

Styling when h2 is set.

TypeDefault
Text Style(Object){}

h3#

Text with Font size 28.

TypeDefault
booleanfalse

h3Style#

Styling when h3 is set.

TypeDefault
Text Style(Object){}

h4#

Text with Font size 22.

TypeDefault
booleanfalse

h4Style#

Styling when h3 is set.

TypeDefault
Text Style(Object){}

style#

Add additional styling for Text.

@see https://reactnative.dev/docs/text#style

TypeDefault
Text Style(Object){}