UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

33 lines (32 loc) 1.13 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { Component } from "../../core/components/index.types.js"; import "../../core/index.js"; import { HTMLMotionProps as HTMLMotionProps$1, WithTransitionProps } from "../motion/index.types.js"; import { FadeScaleStyle } from "./fade-scale.style.js"; import "../../index.js"; import { Variants } from "motion/react"; //#region src/components/fade-scale/fade-scale.d.ts declare const fadeScaleVariants: Variants; interface FadeScaleProps extends WithTransitionProps<HTMLMotionProps$1>, ThemeProps<FadeScaleStyle> { /** * If `true`, the element will transition back to exit state. * * @default true */ reverse?: boolean; /** * The initial scale of the element. * * @default 0.95 */ scale?: number; } /** * `FadeScale` is a component that gradually scales up to reveal or scales down to hide an element. * * @see https://yamada-ui.com/docs/components/fade-scale */ declare const FadeScale: Component<"div", FadeScaleProps>; //#endregion export { FadeScale, FadeScaleProps, fadeScaleVariants }; //# sourceMappingURL=fade-scale.d.ts.map