Some checks are pending
Deploy Volleyball CMS / deploy (push) Waiting to run
13 lines
445 B
TypeScript
13 lines
445 B
TypeScript
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 {};
|