2023-07-20 08:42:24 +02:00

20 lines
439 B
TypeScript

import { Block } from "payload/types";
export const cueBlock: Block = {
slug: "cueBlock",
interfaceName: "CueBlock",
labels: { singular: "Cue", plural: "Cues" },
fields: [
{
name: "content",
label: false,
type: "textarea",
required: true,
admin: {
description:
"Parenthesis will automatically be added around cues. You don't have to include them here.",
},
},
],
};