import { MintelBlock } from "./types"; import type { Block } from "payload"; export const PerformanceChartBlock: MintelBlock = { slug: "performanceChart", labels: { singular: "Performance Chart", plural: "Performance Charts", }, admin: { group: "MDX Components", }, fields: [ { name: "title", type: "text", defaultValue: "Website Performance", admin: { components: { afterInput: [ "@mintel/payload-ai/components/FieldGenerators/AiFieldButton#AiFieldButton", ], }, description: "Geben Sie den Text für title ein.", }, }, ], };