# react-native-navbar-plus

A flexible way to handle safe area, also works on Android and iOS.

[ ![release](https://img.shields.io/github/release/crazycodeboy/react-native-navbar-plus.svg?maxAge=2592000?style=flat-square)](https://github.com/crazycodeboy/react-native-navbar-plus/releases)
[ ![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](https://github.com/crazycodeboy/react-native-navbar-plus/pulls)
[ ![NPM version](http://img.shields.io/npm/v/react-native-navbar-plus.svg?style=flat)](https://www.npmjs.com/package/react-native-navbar-plus)
[![License MIT](http://img.shields.io/badge/license-MIT-orange.svg?style=flat)](https://raw.githubusercontent.com/crazycodeboy/react-native-navbar-plus/master/LICENSE)


## Content

- [Installation](#installation)
- [Getting started](#getting-started)
- [API](#api)
- [Contribution](#contribution)

## Installation

* 1.Run `npm i react-native-navbar-plus --save`
  * or  `yarn add react-native-navbar-plus`
* 2.`import NavigationBar from 'react-native-navbar-plus'`


## Getting started

Add `react-native-navbar-plus` to your js file.

`import NavigationBar from 'react-native-navbar-plus'`

Inside your component's render method, use Toast:

```javascript
 render() {
     return <View>
     <NavigationBar
        title={title}
        leftButton={}
        style={{}}
        rightButton={}
      />
     </View>
```

## Contribution

Issues are welcome. Please add a screenshot of bug and code snippet. Quickest way to solve issue is to reproduce it on one of the examples.

Pull requests are welcome. If you want to change API or making something big better to create issue and discuss it first.

---

**MIT Licensed**