import { FC } from "react"; import { CollapseProps } from "antd"; export interface FRCCollapseProps extends CollapseProps { /** 当前激活 tab 面板的 key (默认无,accordion 模式下默认第一个元素) */ activeKey?: string[] | string | number[] | number; /** 初始化选中面板的 key (默认无) */ defaultActiveKey?: string[] | string | number[] | number; /** 带边框风格的折叠面板 */ bordered?: boolean; /** 手风琴模式 */ accordion?: boolean; /** 切换面板的回调 */ onChange?: (key: string | string[]) => void; /** 设置图标位置: left, right */ expandIconPosition?: 'left' | 'right'; /** 销毁折叠隐藏的面板 */ destroyInactivePanel?: boolean; /** 所有子面板是否可折叠或指定可折叠触发区域 */ collapsible?: 'header' | 'disabled'; /** 使折叠面板透明且无边框 */ ghost?: boolean; } export declare const Collapse: FC; export default Collapse;