Home > General Components > View

View

@wq/material’s <View/> component is a generic block level element. Use this rather than <div> to avoid needing .native.js files for your custom layouts. <View/> is analogous to <div> in HTML.

Source

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

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

The @wq/material-native implementation just exports View from react-native.