import { TransitionInterface } from './createStyleTransition'; export declare function getEnterTransition(instance: TransitionInterface, node: HTMLElement): string; export declare function getExitTransition(instance: TransitionInterface, node: HTMLElement): string; /** * 增大、缩小的过渡效果。 * * ```javascript * import React from 'react'; * import Grow from 'sinoui-components/transitions/Grow'; * import { TransitionInterface } from './createStyleTransition'; * * class GrowDemo extends React.Component { * state: { * in: false, * }; * * handleButtonClick = () => this.setState(prevState => ({ !prevState.in})); * * render() { * return
* * 这是应用动画的内容 *
* } * } * ``` * * 增大: * * * opacity: 0 -> 1 * * scaleX: 0.75 -> 1 * * scaleY: 0.5625 -> 1 * * 缩小: * * * opacity: 1 -> 0 * * scaleX: 1 -> 0.75 * * scaleY: 1 -> 0.5625 */ declare const Grow: import("react").ComponentType<{ timeout?: number | "auto" | { enter: number; exit: number; }; } & import("./createStyleTransition").StyleTransitionPropsType>; export default Grow;