import * as React from 'react';
import {Gesture, GestureState} from '../../index';
const requiredProps = (
{() => null}
);
const handleEvent = (gestureState: GestureState) => {
const {
event,
target,
initial,
xy,
previous,
delta,
direction,
local,
time,
velocity,
distance,
down,
first,
args,
temp
} = gestureState;
return gestureState;
};
const allProps = (
e.delta}
touch={false}
mouse={true}
className={'test'}
style={{width: 200}}
>
{({
event,
target,
initial,
xy,
previous,
delta,
direction,
local,
time,
velocity,
distance,
down,
first,
args,
temp
}) => (
)}
);
const incorrectEventProp = (
{() => null}
);