Home > General Components > Text

Text

@wq/material’s <Text/> component is a cross-platform wrapper for text nodes. Use this or <Typography/> to ensure native compatibility.

Source

While @wq/react defines a placeholder implementation, @wq/material’s versions are more useful as reference:

  • Text.js (@wq/material-web)
  • Text.js (@wq/material-native)

The @wq/material-web implementation simply renders its children. The @wq/material-native implementation just exports Text from react-native.