react-component-transition
Version:
Easy animations between react component transitions.
9 lines (8 loc) • 332 B
TypeScript
import { ContainerProps } from "../../types";
import { AnimationHook } from "./types";
interface ContainerAnimationProps extends AnimationHook, ContainerProps {
prevClientRect: ClientRect;
nextClientRect: ClientRect;
}
export declare const useContainerAnimation: (props: ContainerAnimationProps) => void;
export {};