Update README.md

This commit is contained in:
Bhavan Patel 2018-03-19 14:17:04 +05:30 committed by GitHub
parent 74ea6cca31
commit 44f5e79db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
# React Native Footer Navigation Bar Color
# React Native Footer Navigation Bar Color and Status Bar
[![NPM version](https://img.shields.io/npm/v/react-native-navbar-color.svg)](https://www.npmjs.com/package/react-native-navbar-color) [![GitHub issues](https://img.shields.io/github/issues/BhavanPatel/react-native-navbar-color.svg)](https://github.com/BhavanPatel/react-native-navbar-color/issues) [![GitHub forks](https://img.shields.io/github/forks/BhavanPatel/react-native-navbar-color.svg)](https://github.com/BhavanPatel/react-native-navbar-color/network) [![GitHub stars](https://img.shields.io/github/stars/BhavanPatel/react-native-navbar-color.svg)](https://github.com/BhavanPatel/react-native-navbar-color/stargazers)
[![NPM](https://nodei.co/npm/react-native-navbar-color.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-native-navbar-color/)
# react-native-navbar-color [android only] [API >= 21]
# react-native-navbar-color
Simple package that will set footer navigation bar color.
@ -62,11 +62,11 @@ react-native link react-native-navbar-color
# API
| Method | Parameters | Default | Type | Description
| ------ | ------ | ------ |------ |------ |
| setColor | hexcolor | - | *String* | Navbar color in **hex format** in string|
| setStatusBarColor| hexcolor, animation | - , `true` | *String,Boolean* | Statusbar color in **hex format**, Show animation **true/false** |
| setStatusBarTheme | one of `light`/`dark`/`default` , animation | `default`,`true` | *String*, *Boolean* | Theme of Statusbar Light/Dark/Default in **String**, Show animation **true/false** |
| Method | Parameters | Default | Type | Description | Platform
| ------ | ------ | ------ |------ |------ | ----- |
| setColor | hexcolor | - | *String* | Navbar color in **hex format** in string| **Android** and **API_Level >=21** |
| setStatusBarColor| hexcolor, animation | - , `true` | *String,Boolean* | Statusbar color in **hex format**, Show animation **true/false** | **Android**|
| setStatusBarTheme | one of `light`/`dark`/`default` , animation | `default`,`true` | *String*, *Boolean* | Theme of Statusbar Light/Dark/Default in **String**, Show animation **true/false** | **Android/iOS**|
# Example
This is how you can set footer navigationbar color in android.