root-two / react-native-drawer

React Native Drawer
MIT License
2.54k stars 391 forks source link

Allow to pass a callback via the negotiatePan prop #333

Open madyankin opened 6 years ago

madyankin commented 6 years ago

This PR allows to pass a callback via the negotiatePan prop. This is useful if we want to toggle the gestures capturing based on dynamic gestureState.