Source code

Revision control

Copy as Markdown

Other Tools

import figma, { html } from "@figma/code-connect/html";
figma.connect(
{
props: {
label: figma.string("Label"),
iconSrc: figma.boolean("Show icon", {
}),
description: figma.boolean("Show description", {
true: figma.string("Description"),
}),
},
example: props =>
html`<moz-box-link
label=${props.label}
description=${props.description}
iconsrc=${props.iconSrc}
></moz-box-link>`,
}
);