@chakra-xui/transition
Version:
Common transition components for Chakra xui
15 lines (14 loc) • 530 B
TypeScript
import { HTMLMotionProps } from "framer-motion";
import * as React from "react";
export declare const fadeConfig: HTMLMotionProps<any>;
export interface FadeProps extends HTMLMotionProps<"div"> {
/**
* If `true`, the element will unmount when `in={false}` and animation is done
*/
unmountOnExit?: boolean;
/**
* Show the component; triggers the enter or exit states
*/
in?: boolean;
}
export declare const Fade: React.ForwardRefExoticComponent<FadeProps & React.RefAttributes<HTMLDivElement>>;