Skip to content

Text


When assigning a rule to a property of Text, the rule will be passed an instance of the following proxy class as an argument:


Text Properties

Property Type Required Default
NumberOfLines integer No 1
Styles object No
Text string Yes
_Name string No
_Type const Yes

NumberOfLines

The number of lines in which the text is displayed. The height of the cell grows to display the text within the specified number of lines. The default value is 1. Any value less than or equal to zero is considered as no limit.

  • type: integer
  • default: 1

Styles

Style to be applied on the Text.

  • type: object with following properties.
Property Type Required Default
Text string No

Text

Supported in iOS only. The string value is a style class name for Text.


Text

  • type: string

_Name

  • type: string

_Type

  • type: const

The value of this property must be:

"CardBodyContent.Type.Text"