View

React Native’s View with custom style names.

API

Props

View doesn’t have custom Props, however, all Props available in the standard React Native View component are supported.

Style names

Declaration Description Type
horizontal Align child components horizontally and support horizontalFlexAlignment variants String
vertical Align child components horizontally and support verticalFlexAlignment variants String
wrap flexWrap child components String
muted Sets View opacity to mutedOpacity as defined in the theme String
featured Sets View backgroundColor to featuredColor as defined in the theme String
center Align self View to center String

JSX Declaration

<View styleName="md-gutter">
  <Text>Content</Text>
</View>

Snack Example

Coming soon.