Remove elements barrel file and next/image, add image/number field types

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rami Bitar
2026-06-09 15:59:47 -04:00
parent 3ed7e027c2
commit 791a257294
5 changed files with 7 additions and 32 deletions

View File

@@ -5,7 +5,7 @@ export const ImageConfig: ElementConfig = {
label: "Image",
fields: {
src: {
type: "text",
type: "image",
label: "Source URL",
},
alt: {
@@ -28,11 +28,11 @@ export const ImageConfig: ElementConfig = {
label: "Circle",
},
width: {
type: "text",
type: "number",
label: "Width",
},
height: {
type: "text",
type: "number",
label: "Height",
},
},