mirror of
https://github.com/imezx/Warp.git
synced 2025-04-25 07:30:02 +00:00
10 lines
401 B
TypeScript
10 lines
401 B
TypeScript
|
import React from 'react';
|
||
|
export interface UseDocSearchKeyboardEventsProps {
|
||
|
isOpen: boolean;
|
||
|
onOpen: () => void;
|
||
|
onClose: () => void;
|
||
|
onInput?: (event: KeyboardEvent) => void;
|
||
|
searchButtonRef?: React.RefObject<HTMLButtonElement>;
|
||
|
}
|
||
|
export declare function useDocSearchKeyboardEvents({ isOpen, onOpen, onClose, onInput, searchButtonRef, }: UseDocSearchKeyboardEventsProps): void;
|