Socket
Socket
Sign inDemoInstall

@tarikfp/react-native-tabs-sidebar

Package Overview
Dependencies
533
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tarikfp/react-native-tabs-sidebar

Wrapper library over the @react-navigation/bottom-tabs. The main purpose of this library is to support displaying tabbar on side.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

React Navigation Side Bar

Wrapper library over the @react-navigation/bottom-tabs. The main purpose of this library is to support displaying tabbar on side.

If you wanted to use sidebar in your tablet/mobile apps, but haven't found a way to achieve it, then this library might be the one that you are looking for.

  • Make sure to install required packages as stated in the https://reactnavigation.org/docs/getting-started/ docs.
  • Instead of using @react-navigation/bottom-tabs you can now instead install this library in order to achieve displaying tabs on the sidebar !

Usage

Provide tabBarPosition prop with the desired value to the screenOptions object. That's it! 🎉

    <TabBar.Navigator
      backBehavior="initialRoute"
      screenOptions={({route}) => ({
        ...otherOptions
        tabBarPosition: "left",
      })}>
      <TabBar.Screen name={RouteNames.Home} component={HomeScreen} />
    </TabBar.Navigator>

Screenshots

Android Tablet

Right sidebar

wwuM0v.md.png

Left sidebar

wwu1sa.md.png

iOS Tablet

Right sidebar

wwu6eS.md.png

Left sidebar

wwuUg4.md.png

Emulators/Simulators

Android

wwA0pS.md.png

iOS

wwupdQ.md.png

Keywords

FAQs

Last updated on 15 Jul 2022

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