import { MintelBlock } from "./types"; import type { Block } from "payload"; export const ParagraphBlock: MintelBlock = { slug: "mintelP", labels: { singular: "Paragraph", plural: "Paragraphs", }, admin: { group: "MDX Components", }, ai: { name: "Paragraph", description: "Standard body text paragraph. All body text must be wrapped in this.", usageExample: "'\n Mein System ist kein Kostenfaktor, sondern ein ROI-Beschleuniger.\n'", }, fields: [ { name: "text", type: "textarea", required: true, admin: { components: { afterInput: [ "@mintel/payload-ai/components/FieldGenerators/AiFieldButton#AiFieldButton", ], }, description: "Geben Sie den mehrzeiligen Text für text ein.", }, }, ], };