import * as React from 'react' import {useGesture, GestureState} from '../../index' function useGestureWithFunction(props: any) { const bind = useGesture(e => e) return
gesture hooks with function
; } function useGetureWithOnAction(props: any) { const bind = useGesture({ onAction(state: GestureState): any { return 'test' } }) return
gesture hooks with on action
} function useGetureWithoutOnAction(props: any) { const [bind, state] = useGesture({mouse: true}) return
gesture hooks without on action
} function useGestureWithoutProps() { const [bind, { local: [x, y] }] = useGesture() return
gesture hooks without props
}