Files
cunkebao_v3/nkebao/src/components/ContentSelection/data.ts
超级老白兔 bb06d3e4f8 FEAT => 本次更新项目为:
内容库处理完成
2025-08-07 18:21:35 +08:00

22 lines
540 B
TypeScript

// 内容库接口类型
export interface ContentItem {
id: number;
name: string;
[key: string]: any;
}
// 组件属性接口
export interface ContentSelectionProps {
selectedContent: ContentItem[];
onSelect: (selectedItems: ContentItem[]) => void;
placeholder?: string;
className?: string;
visible?: boolean;
onVisibleChange?: (visible: boolean) => void;
selectedListMaxHeight?: number;
showInput?: boolean;
showSelectedList?: boolean;
readonly?: boolean;
onConfirm?: (selectedItems: ContentItem[]) => void;
}