0.2.1 • Published 3 years ago

react-native-sidebar-navigator v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-sidebar-navigator

A sidebar navigator, it has the same props and methods as a tab navigator.

The view has been changed, this is the initial start, I'll keep on adding more features and improvements.

Installation

npm install react-native-sidebar-navigator

yarn add react-native-sidebar-navigator

Usage

import { createSideBarNavigator } from "react-native-sidebar-navigator";
// ...
const Stack = createSideBarNavigator();

<Stack.Navigator>
  <Stack.Screen
        name={'Primary'}
        component={PrimaryScreen}
        options={{
          title: 'Primary',
          sideBarIcon: ({ focused }) => (
            <Icon
            />
          ),
        }}
      />
</Stack.Navigator>

Please check this example for further instructions example

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library