import { CSSProperties, ReactNode } from 'react'; import type { CommonType } from '../common/type'; import type { BaseCollapseItemProps } from '@sheinx/hooks'; export interface CollapseItemClasses { rootClass: string; /** * 最外层class */ wrapper: string; header: string; active: string; icon: string; iconRight: string; title: string; extra: string; content: string; expanded: string; contentMain: string; noIcon: string; disabled: string; activeTransform: string; activeTransformRight: string; region: string; borderLess: string; } export interface CollapseItemProps extends Pick, BaseCollapseItemProps { jssStyle?: { collapseItem: CollapseItemClasses; }; /** * @en Whether to show the expand icon * @cn 是否显示展开图标 * @default true */ showExpandIcon?: boolean; /** * @en The expand icon * @cn 展开图标 */ expandIcon?: ReactNode; /** * @en The extra content * @cn 扩展内容 */ extra?: ReactNode; /** * @en Collapse panel header content * @cn 折叠面板头部内容 */ title?: ReactNode; /** * @en Accordion panel content area style * @cn 折叠面板内容区域样式 */ contentStyle?: CSSProperties; /** * @en The content inside the collapse panel * @cn 折叠面板内的内容 */ children?: ReactNode; } //# sourceMappingURL=collapse-item.type.d.ts.map