react-component-transition
Version:
Easy animations between react component transitions.
9 lines (8 loc) • 321 B
TypeScript
import React, { PropsWithChildren } from "react";
import { ComponentTransitionProps } from "../types";
interface Props extends ComponentTransitionProps {
inViewEnabled?: boolean;
inViewRef?: (element: HTMLElement) => void;
}
export declare const Transition: React.FC<PropsWithChildren<Props>>;
export {};