Text

Props#

align#

An alignment of the text. The default value is left.

TypeRequired
enum('center', 'justify', 'left', 'right')No

color#

A color of the text. The default value is dark.

TypeRequired
enum('black', 'dark', 'danger', 'disabled', 'info', 'light', 'muted', 'primary', 'success', 'warning', 'white')No

onPress#

Called when a single tap gesture is detected.

TypeRequired
functionNo

rnTextProps#

React Native's Text props. Check React Native Text documentation.

TypeRequired
objectNo

size#

A size of the text. The default value is medium.

TypeRequired
enum('huge', 'large', 'medium', 'small', 'tiny')No

style#

A style (decoration) of the text. The default value is normal.

TypeRequired
enum('normal', 'italic')No

weight#

A weight of the text. The default value is medium.

TypeRequired
enum('bold', 'medium')No