Kureev / react-native-side-menu

Side menu component for React Native
MIT License
2.21k stars 434 forks source link

All API props are not available in v1.1.3 #381

Open Deg5112 opened 5 years ago

Deg5112 commented 5 years ago

Hello, the following is what is in index.js in the react-native-side-menu folder after npm install. Callbacks like.. onAnimationEnd, is not here. Am i missing something? Thanks!

type Props = { edgeHitWidth: number, toleranceX: number, toleranceY: number, menuPosition: 'left' | 'right', onChange: Function, onMove: Function, onSliding: Function, openMenuOffset: number, hiddenMenuOffset: number, disableGestures: Function | bool, animationFunction: Function, onStartShouldSetResponderCapture: Function, isOpen: bool, bounceBackOnOverdraw: bool, autoClosing: bool };

When i clone master i have the additional field.. just not via npm install, are we sure this is published to npm? Even though it shows that it's pulling in v1.1.3 i am getting old code