/** * @author linhd * @date 2022/5/23 2:19 PM * @description 折叠容器 */ import React, { FunctionComponent } from 'react'; import './index.scss'; export interface CollapseBoxProps { /** className */ className?: string; /** css样式 */ style?: React.CSSProperties; /** 收起状态最小高度 */ collapsedHeight?: string | number; /** 收起时是否不渲染子节点 */ unmountOnExit?: boolean; /** 动画时间 */ timeout?: 'auto' | number | { appear?: number | undefined; enter?: number | undefined; exit?: number | undefined; }; children?: any; [name: string]: any; } declare const CollapseBox: FunctionComponent; export default CollapseBox;