Socket
Socket
Sign inDemoInstall

@mindinventory/rn-top-navbar

Package Overview
Dependencies
399
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mindinventory/rn-top-navbar

Provides utility methods to set top navigation bar


Version published
Maintainers
4
Created

Readme

Source

React Native top-navbar

A @mindinventory/rn-top-navbar package is use to create custom navigation for react native apps. user can fully customize navbar. you can change the background color of statusbar. Navigation can contain component like icon, image, text.

alt navbar alt navbar alt navbar alt navbar alt navbar

Installation

using npm:

npm install @mindinventory/rn-top-navbar

using yarn:

yarn add @mindinventory/rn-top-navbar

Supported platform

  • Android
  • Ios

Usage

import Header from '@mindinventory/rn-top-navbar';
...
<Header style={{ backgroundColor: '#009999' }} statusBarBackground='#008080' barStyle='light-content'>
    <Header.Left style={{ backgroundColor: '#009999', width: "15%" }}>
        <Icon name='arrow-left' style={{color: '#fff', fontSize: 18}} />
    </Header.Left>
    <Header.Body style={{ backgroundColor: '#009999', width: "70%" }}>
        <Text style={{color: '#fff'}}>Header Title</Text>
    </Header.Body>
    <Header.Right style={{ backgroundColor: '#009999', flexDirection: 'row', width: '15%' }}>
        <Icon name='bars' style={{color: '#fff', fontSize: 18}} />
    </Header.Right>
</Header>

Documentation

Navbar container props

PropTypedescription
statusBarBackgroundstringuse for change background color of status bar.
barStylestringuse for change content of status bar.
stylestyleapply styles on navbar container.

Left container props

PropTypedescription
stylestyleapply styles on left container.

Body container props

PropTypedescription
stylestyleapply styles on body container.

Right container props

PropTypedescription
stylestyleapply styles on right container.

Changelog

Version: 0.0.1

  • Initial Build

LICENSE!

@mindinventory/rn-top-navbar is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

Keywords

FAQs

Last updated on 19 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc