I am using React Swipable library and need swipping event to the bottom sheet on swipping up or down.
import { useSwipeable, SwipeEventData } from 'react-swipeable';
const handleSwiped = (eventData: SwipeEventData) => {
console.log("Test", eventData);
};
const handlers = useSwipeable({
onSwiped: handleSwiped,
});
<button type="button" aria-label="handlebar" {...handlers} />
I am referring example can any body help me here?
Can anybody help to