UNPKG

opencoder

Version:
3 lines (2 loc) 199 B
export declare const DOUBLE_PRESS_TIMEOUT_MS = 2000; export declare function useDoublePress(setPending: (pending: boolean) => void, onDoublePress: () => void, onFirstPress?: () => void): () => void;