mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import { MutableRefObject } from 'react';
|
||||
interface TransitionArgs {
|
||||
container: MutableRefObject<HTMLElement | null>;
|
||||
classes: MutableRefObject<{
|
||||
enter: string[];
|
||||
enterFrom: string[];
|
||||
enterTo: string[];
|
||||
leave: string[];
|
||||
leaveFrom: string[];
|
||||
leaveTo: string[];
|
||||
entered: string[];
|
||||
}>;
|
||||
direction: 'enter' | 'leave' | 'idle';
|
||||
onStart: MutableRefObject<(direction: TransitionArgs['direction']) => void>;
|
||||
onStop: MutableRefObject<(direction: TransitionArgs['direction']) => void>;
|
||||
}
|
||||
export declare function useTransition({ container, direction, classes, onStart, onStop }: TransitionArgs): void;
|
||||
export {};
|
||||
Reference in New Issue
Block a user