Update README

This commit is contained in:
Welington da Silva 2018-10-14 12:58:01 -04:00
parent b237801542
commit b57ee9b775
2 changed files with 11 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
android/.gradle/*

View File

@ -10,6 +10,7 @@ React Native Navigation Bar Color Change is a [React Native](http://facebook.git
<img src="https://github.com/thebylito/react-native-navigation-bar-color/raw/master/screenshots/screenShot1.jpg" height="600">
<img src="https://github.com/thebylito/react-native-navigation-bar-color/raw/master/screenshots/screenShot2.jpg" height="600">
<img src="https://github.com/thebylito/react-native-navigation-bar-color/raw/master/screenshots/screenShot3.jpg" height="600">
<img src="https://user-images.githubusercontent.com/29806253/46919604-96247c00-cfaf-11e8-996a-81330dad6562.png" height="600">
</div>
## Table of Contents
@ -75,6 +76,7 @@ export default class Mynewapp extends Component {
justifyContent: 'space-around',
alignContent: 'center',
alignItems: 'center',
backgroundColor: 'white'
}}
>
<Button
@ -89,6 +91,12 @@ export default class Mynewapp extends Component {
this.setNavigationColor('blue');
}}
/>
<Button
title="Set color ligth"
onPress={() => {
changeNavigationBarColor('#ffffff', true);
}}
/>
<Button
title="Hide bar"
onPress={this.hideNavigation}
@ -111,8 +119,7 @@ Change color of Navigation/Bottom bar.
color can be a HEX color, or name.
ex: green, blue, #80b3ff, #ffffff....
Light is true? icon color may be White.
False? May be a Black or Gray.
Light is true? icons will be dark.
- Returns a `Promise`