UNPKG

react-component-transition

Version:
9 lines (8 loc) 321 B
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 {};