import { Schema } from 'amis-core'; import { BasePlugin } from 'amis-designer-core'; export default class CardsPlugin extends BasePlugin { rendererName: string; name: string; description: string; groups: string[]; icon: string; scaffold: { type: string; columnsCount: number; data: { items: any[]; }; card: { type: string; body: Schema[]; actions: Schema[]; }; }; previewSchema: { type: string; columnsCount: number; data: { items: { a: string; b: string; }[]; }; card: { body: { name: string; label: string; }[]; actions: { label: string; type: string; }[]; }; }; panelTitle: string; panelBodyCreator: (node: any) => any[]; filterProps: (props: any) => any; }