Skip to content

Commit b7c4c95

Browse files
committed
feat: add componentName attribute
1 parent 4a3cb85 commit b7c4c95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/builder/app/canvas/canvas.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ export const Canvas = () => {
245245
Object.entries(baseComponentPropsMetas).map(
246246
([component, propsMeta]) => {
247247
const globalProps: Record<string, PropMeta> = {
248+
componentName: {
249+
type: "string",
250+
control: "text",
251+
required: false,
252+
description:
253+
"Define a component boundary with a “pascal case” name like MyComponent.",
254+
maxRows: 1,
255+
},
248256
comment: {
249257
type: "string",
250258
control: "text",

0 commit comments

Comments
 (0)