Skip to content

Commit 0614d32

Browse files
committed
Update Readme
1 parent 3122392 commit 0614d32

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
```
2929
compile project(':react-native-navbar-style')
3030
```
31+
3132
##Requirements
3233

3334
Changing the NavigationBar color is only supported on Android Lollipop(API 21) and above.
@@ -56,4 +57,35 @@ await NavbarStyle.setLightNavbar(true);
5657

5758
//Normal Navbar(Light Icons)
5859
await NavbarStyle.setLightNavbar(false);
60+
```
61+
62+
63+
##Examples
64+
65+
#Colored Navbar with Light Icons
66+
67+
![Purple Navbar with Light Icon](https://bit.ly/2Yuf9wK)
68+
69+
```javascript
70+
NavbarStyle.setNavbarColor('#8e44ad');
71+
await NavbarStyle.setLightNavbar(false);
72+
```
73+
74+
#Light Navbar with dark icons
75+
76+
![Light Navbar with dark Icons](https://bit.ly/2Nt9tSr)
77+
78+
```javascript
79+
NavbarStyle.setNavbarColor('#ecf0f1');
80+
await NavbarStyle.setLightNavbar(true);
81+
```
82+
83+
84+
#Colored Navbar with dark icons
85+
86+
![Colored Navbar with dark Icons](https://bit.ly/2XeClgL)
87+
88+
```javascript
89+
NavbarStyle.setNavbarColor('#16a085');
90+
await NavbarStyle.setLightNavbar(true);
5991
```

0 commit comments

Comments
 (0)