UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

9 lines (8 loc) 259 B
export declare function useLongPress(onLongPress: () => void, delay?: number): { onMouseDown: () => void; onMouseUp: () => void; onMouseLeave: () => void; onTouchStart: () => void; onTouchEnd: () => void; onTouchCancel: () => void; };