Skip to content

This repo is an example of how to create a custom drawer menu and pass on the props to child elements. It also has a navigation bar component which can be customised like adding the left and right icons etc.

License

Notifications You must be signed in to change notification settings

amitdhawan/Custom-DrawerMenu-React-Native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom-DrawerMenu-React-Native

This repo is an example of how to create a custom drawer menu and pass on the props to child elements. It also has a navigation bar component which can be customised like adding the left and right icons etc.

How to run the project?

To run the project open SideMenu folder your favourite IDE and run below commands in the root directory:-

npm install
exp start

Once the above commands are successful the expo serve will start. For more details on how to run the app using expo refer: Expo

Purpose of this project

The main purpose of this project is as below:-

  1. To show how we can create a custom menu using react-navigation createCustomDrawerNavigator.

  2. To pass on the props from parent to the child.

  3. Custom navigation bar which has customised left,center and right buttons.

  4. Call the dispatch function for drawer open and close functions.

Demo

Demo

Any suggestions are welcome, if you like the project don't forget to add a star on this repo :-)

About

This repo is an example of how to create a custom drawer menu and pass on the props to child elements. It also has a navigation bar component which can be customised like adding the left and right icons etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published