text function

Text text(
  1. Object value
)

Converts a scalar value to a React text node.

Implementation

Text text(Object value) => Text('$value');