mirror of
https://github.com/status-im/react-native-navbar-color.git
synced 2025-02-28 17:00:33 +00:00
Updated Read Me
This commit is contained in:
parent
81213d8aa9
commit
78bf96a8e1
18
README.md
18
README.md
@ -1,11 +1,5 @@
|
|||||||
# React Native Footer Navigation Bar Color
|
# React Native Footer Navigation Bar Color
|
||||||
[](https://www.npmjs.com/package/react-native-navbar-color)
|
[](https://www.npmjs.com/package/react-native-navbar-color) [](https://github.com/BhavanPatel/react-native-navbar-color/issues) [](https://github.com/BhavanPatel/react-native-navbar-color/network) [](https://github.com/BhavanPatel/react-native-navbar-color/stargazers)
|
||||||
|
|
||||||
[](https://github.com/BhavanPatel/react-native-navbar-color/issues)
|
|
||||||
|
|
||||||
[](https://github.com/BhavanPatel/react-native-navbar-color/network)
|
|
||||||
|
|
||||||
[](https://github.com/BhavanPatel/react-native-navbar-color/stargazers)
|
|
||||||
|
|
||||||
[](https://nodei.co/npm/react-native-navbar-color/)
|
[](https://nodei.co/npm/react-native-navbar-color/)
|
||||||
|
|
||||||
@ -66,6 +60,14 @@ react-native link react-native-navbar-color
|
|||||||
project(':react-native-navbar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navbar-color/android')
|
project(':react-native-navbar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navbar-color/android')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# 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** |
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
This is how you can set footer navigationbar color in android.
|
This is how you can set footer navigationbar color in android.
|
||||||
|
|
||||||
@ -88,7 +90,7 @@ import { View, Text } from 'react-native'
|
|||||||
import NavigationBar from 'react-native-navbar-color'
|
import NavigationBar from 'react-native-navbar-color'
|
||||||
|
|
||||||
export default class App extends Component {
|
export default class App extends Component {
|
||||||
componentWillMount() {
|
componentDidMount() {
|
||||||
NavigationBar.setColor('#ffab8e')
|
NavigationBar.setColor('#ffab8e')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user