Socket
Socket
Sign inDemoInstall

react-navigation-selective-tab-bar

Package Overview
Dependencies
545
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-navigation-selective-tab-bar

Creates a custom TabBar where you can decide which routes to display


Version published
Weekly downloads
23
decreased by-20.69%
Maintainers
1
Install size
2.68 MB
Created
Weekly downloads
 

Readme

Source

react-navigation-selective-tab-bar

Creates a custom TabBar where you can decide which routes to display

Install

npm install react-navigation-selective-tab-bar

Usage

  {
    One: {
      screen: ScreenOne
    },
    Two: {
      screen: ScreenTwo
    },
    Three: {
      screen: ScreenThree
    },
    Four: {
      screen: ScreenFour
    }
  },
  {
    tabBarComponent: props => {
      return (
        <BottomTabBar
          {...props} // Required
          display={["One", "Three"]} // Required
          background="black" // Optional
        />
      );
    }
  }
);

ScreenShots


Example

git clone https://github.com/suarezluis/react-navigation-selective-tab-bar.git
cd react-navigation-selective-tab-bar
cd example
npm install or yarn install
react-native run-ios or react-native run-android

Keywords

FAQs

Last updated on 15 Aug 2019

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