Skip to content

Props Details

Sameer Jain edited this page Oct 25, 2021 · 3 revisions

headerStyle

Header wrapper is a TouchableWithoutFeedback component, so it supports all the corresponding View styles.

To add styles for the Text component in the header, give another subobject with key text containing styles for the text.

Default:

{
  padding: 10,
  flexDirection: 'row',
  alignItems: 'center',
  backgroundColor: 'black',
  text: {
    color: 'white',
    fontWeight: 'bold',
    fontSize: 16,
  },
}

NOTE: text style is available from v1.1.0.

Clone this wiki locally