I am trying to center the search bar with the menu button on the right side of the header using Nativebase. The code for this is provided below:
<Header>
<Body>
<Button style={styles.searchButton} onPress={() => this.onSearchPress()} >
<Text>Search Service</Text>
</Button>
</Body>
<Right>
<Icon name='menu' style={styles.drawerIcon} onPress={()=> navigation.openDrawer()} />
</Right>
</Header>
Is there a way to position it in the center with full width?