UNPKG

react-simple-game-engine

Version:

[WIP] not able to use in currently. <!-- Document cumming soon... -->

15 lines 486 B
export declare type UseLongPressProps = { onLongPress: () => void | undefined; delay?: number; exts?: { onPress?: () => void | undefined; }; }; export declare function useLongPress(onLongPress: UseLongPressProps["onLongPress"], delay?: UseLongPressProps["delay"], exts?: UseLongPressProps["exts"]): { onMouseDown: () => void; onMouseUp: () => void; } | { onTouchStart: () => void; onTouchEnd: () => void; }; //# sourceMappingURL=interact.d.ts.map