I am generating badge.figma.ts using figma code connect but it only detects label no other properties like
Type(Undefined, etc.)Label(true/false)Neutral(true/false)No max. width(True/False)Variant(Rounded, etc.)Size(Small, Medium)
are not getting generated in badge.figma.ts file, why?
figma.connect(
"link to figma file",
{
props: {
label: figma.string("✏️ Label"),
},
example: (props) => html`<badge />`,
},
)
