react-native-slide-button
react-native-slide-button copied to clipboard
Slide to proceed button for React Native
`onPress` is not getting called Inner wrapper example ``` console.warn('clicked')} /> // not working ```
An error showed up saying Dimension was unable to resolve; cleared. There were warnings related to useNativeDriver and componentWillMount, both were cleared.
Add a pair of missing {...} to style property.
- Removed ComponentWillMount and moved code to constructor - Updated var to const - removed var self = this; - refactored functions removing bind and converting them to fat arrow
If you set "slideDirection" with "SlideDirection.BOTH" you may need to know which direction was slided.
New Features -Direction of the button slided by user. Useful when using SlideDirection.BOTH -slideBackToOriginal is added to check whether to slide back the button back to it's original position after...
`successfulSlideWidth` is a variable, use it instead of trying to get it from props
Hello! Thanks for the component. 👍 I see that the latest version is 1.3.0 but npm has 1.2.1 listed as the last one. Necessary update? (I'm still getting the Dimensions...