Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Failing after 2m24s
Build & Deploy / 🏗️ Build (push) Failing after 3m40s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
25 lines
519 B
TypeScript
25 lines
519 B
TypeScript
import type { MintelBlock } from "./types";
|
|
|
|
export const H2Block: MintelBlock = {
|
|
slug: "mintelH2",
|
|
labels: {
|
|
singular: "Heading 2",
|
|
plural: "Headings 2",
|
|
},
|
|
fields: [
|
|
{
|
|
name: "text",
|
|
type: "text",
|
|
required: true,
|
|
admin: {
|
|
description: "Geben Sie den Text für die H2-Überschrift ein.",
|
|
components: {
|
|
afterInput: [
|
|
"@/src/payload/components/FieldGenerators/AiFieldButton#AiFieldButton",
|
|
],
|
|
},
|
|
},
|
|
},
|
|
],
|
|
};
|