withSwipeableStyle is a HOC which provides Gmail like swipe option to component.
I used the Swipeable component from react-native-gesture-handler but it's not compiling for the web.
Storybook documentation can't be built without solving this so I have commented out the code.
You can find it inside the HOC folder, it's a Higher-Order Component used by ListItem and SlidingButton (both commented out right now).
It would be a big help if someone can fix the webpack config so that it works with the web too.
withSwipeableStyle
is a HOC which provides Gmail like swipe option to component. I used the Swipeable component from react-native-gesture-handler but it's not compiling for the web. Storybook documentation can't be built without solving this so I have commented out the code.You can find it inside the HOC folder, it's a Higher-Order Component used by ListItem and SlidingButton (both commented out right now).
It would be a big help if someone can fix the webpack config so that it works with the web too.
You can suggest an alternative.