You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This package will help you render buttons in the navigation bar and handle the styling so you don't have to. It tries to mimic the appearance of native navbar buttons. `HeaderButtons.Item` accepts `buttonWrapperStyle` prop which you may use to modify item alignment in case the default outcome does not fit your needs.
4
4
5
+
This package depends on `react-native-vector-icons` and is a simple wrapper around [`react-navigation-header-buttons-base`](https://github.com/vonovak/react-navigation-header-buttons-base), which you can use if you do not want to depend on the icons package.
6
+
5
7
#### Demo App with Code Samples
6
8
7
9
Available via expo [here](https://expo.io/@vonovak/navbar-buttons-demo)
@@ -27,6 +29,22 @@ static navigationOptions = {
27
29
};
28
30
```
29
31
32
+
Alernatively, you can use the icon-family-based exports:
33
+
34
+
```
35
+
import { IoniconHeaderButtons, Item } from 'react-navigation-header-buttons'
0 commit comments