Closed muratboyraz closed 5 years ago
@muratboyraz Will have a look 👍
Did you pass the drawer percentage through as a prop? It is a percentage value between 0 and 100.
Did you pass the drawer percentage through as a prop? It is a percentage value between 0 and 100.
yes i did, but i got same error. I inspected your code and i add DRAWER_WIDTH as a global variable, after that time it compiled but result looks like this.
Updated to accommodate. You can upgrade your dependency to match latest version & re-install 👍🏼
@muratboyraz updated with a fix. Please update to latest package dependency and try again :)
Hi, I was just trying this example https://reactnativeexample.com/simple-lightweight-customisable-menu-drawer-component/ and there was an error in index.js file which you may forgot to declare DRAWER_WIDTH value.