initial commit
This commit is contained in:
6
node_modules/@headlessui/react/dist/hooks/use-outside-click.d.ts
generated
vendored
Normal file
6
node_modules/@headlessui/react/dist/hooks/use-outside-click.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { MutableRefObject } from 'react';
|
||||
type Container = MutableRefObject<HTMLElement | null> | HTMLElement | null;
|
||||
type ContainerCollection = Container[] | Set<Container>;
|
||||
type ContainerInput = Container | ContainerCollection;
|
||||
export declare function useOutsideClick(containers: ContainerInput | (() => ContainerInput), cb: (event: MouseEvent | PointerEvent | FocusEvent | TouchEvent, target: HTMLElement) => void, enabled?: boolean): void;
|
||||
export {};
|
||||
Reference in New Issue
Block a user