leo-design-ui
Version:
React Design Library
11 lines (10 loc) • 527 B
TypeScript
import { ReactNode } from "react";
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
type AnimationName = 'zoom-in-top' | 'zoom-in-left' | 'zoom-in-bottom' | 'zoom-in-right';
type TransitionProps = CSSTransitionProps & {
animation?: AnimationName;
wrapper?: boolean;
children?: ReactNode;
};
declare const Transition: ({ children, animation, classNames, wrapper, appear, unmountOnExit, ...restProps }: TransitionProps) => import("react/jsx-runtime").JSX.Element;
export default Transition;