UNPKG

576 BTypeScriptView Raw
1/// <reference types="react" />
2import { FocusManagerOptions } from '@restart/hooks/useFocusManager';
3interface Props {
4 disabled?: boolean;
5 onBlur?: React.FocusEventHandler;
6 onFocus?: React.FocusEventHandler;
7}
8export default function useFocusManager(ref: React.RefObject<Element>, props?: Props, opts?: Omit<FocusManagerOptions, 'onChange' | 'isDisabled'>): readonly [import("@restart/hooks/esm/useFocusManager").FocusController, boolean, import("react").Dispatch<import("react").SetStateAction<boolean>>];
9export {};
10//# sourceMappingURL=useFocusManager.d.ts.map
\No newline at end of file