add hw2
This commit is contained in:
12
node_modules/@headlessui/react/dist/hooks/use-transition.d.ts
generated
vendored
Normal file
12
node_modules/@headlessui/react/dist/hooks/use-transition.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
type TransitionData = {
|
||||
closed?: boolean;
|
||||
enter?: boolean;
|
||||
leave?: boolean;
|
||||
transition?: boolean;
|
||||
};
|
||||
export declare function transitionDataAttributes(data: TransitionData): Record<string, string>;
|
||||
export declare function useTransition(enabled: boolean, element: HTMLElement | null, show: boolean, events?: {
|
||||
start?: (show: boolean) => void;
|
||||
end?: (show: boolean) => void;
|
||||
}): [visible: boolean, data: TransitionData];
|
||||
export {};
|
||||
Reference in New Issue
Block a user