import type { CollapsePanelProps } from 'antd/es/collapse'; import React from 'react'; import { PrefixIconIconProps } from '../Icon/PropsType'; export interface MyCollapseProps extends CollapsePanelProps { name: string; _component: any; collapseType?: string; size?: any; headerColor?: string; hasIcon?: boolean; cardIconType?: string; titleColor?: string; appId?: string; prefixIcon?: PrefixIconIconProps; visible?: boolean; onChange?: (activeKey: string[] | string) => void; /** * 默认展开的面板 */ defaultActiveKey?: string[] | string; /** * 手风琴模式 */ accordion: boolean; titleFont?: string; titleLineHeight?: string; titleFontWeight?: number; subTitleColor?: string; subTitleFont?: string; subTitleLineHeight?: string; subTitleFontWeight?: number; } export interface WrapperCollapseProps { children: React.ReactElement; } declare const WrapperCollapse: React.FC; declare const MyCollapse: React.ForwardRefExoticComponent>; export default MyCollapse; export { WrapperCollapse };