Screen

Screen is used to wrap the content of a navigation screen. It’s provides to use NavigationHeaders, ScrollView and in addition implements the KeyboardAvoidingView by default.

API

Props

Declaration Description Type Default
headerComponent Render the NavigationHeader component React.element null
scrollEnable When false, the view cannot be scrolled via touch interaction Boolean true

Style names

Declaration Description
transparent Sets backgroundColor to transparent

JSX Declaration


<Screen
  headerComponent={<NavigationHeader title="Screen Title" />}
>
  <Text>Screen content</Text>
</Screen>

Snack Example

Coming soon.