Skip to content

v0.0.8

Compare
Choose a tag to compare
@vonovak vonovak released this 11 May 22:26
· 225 commits to master since this release

you can now import HeaderButtons with predefined IconComponent, see the comparison. Please note this was removed in 1.0.0

ex:

import { IoniconHeaderButtons, Item } from 'react-navigation-header-buttons'

static navigationOptions = {
  title: 'Usage With Icons',
  headerRight: (
    <IoniconHeaderButtons color="blue">
      <Item title="add" iconName="ios-search" onPress={() => console.warn('add')} />
      <Item title="select" onPress={() => console.warn('edit')} />
    </IoniconHeaderButtons>
  ),
};