add elements components

This commit is contained in:
Rami Bitar
2026-06-09 14:43:25 -04:00
parent d7ebc09cbb
commit 3ed7e027c2
13 changed files with 558 additions and 3 deletions

View File

@@ -0,0 +1,33 @@
import type { ElementConfig } from "./types"
export const CardConfig: ElementConfig = {
Card: {
label: "Card",
fields: {
image: {
type: "text",
label: "Image URL",
},
title: {
type: "text",
label: "Title",
},
subtitle: {
type: "text",
label: "Subtitle",
},
tags: {
type: "array",
label: "Tags",
arrayFields: {
tag: {
type: "text",
label: "Tag",
},
},
},
},
},
}
export default CardConfig