UNPKG

zent

Version:

一套前端设计语言和基于React的实现

26 lines (25 loc) 712 B
import { Component } from 'react'; export interface IAnimateHeightProps { height: number | string; appear?: boolean; duration?: number; easing?: string; className?: string; style?: React.CSSProperties; overflow: 'hidden' | 'scroll' | 'auto'; transitionPrototype?: string; } export declare class AnimateHeight extends Component<IAnimateHeightProps> { static defaultProps: { appear: boolean; duration: number; easing: string; overflow: string; transitionPrototype: string; }; private ref; private timer; componentDidMount(): void; componentDidUpdate(prevProps: IAnimateHeightProps): void; render(): JSX.Element; }