import figma, { html } from '@figma/code-connect/html';
figma.connect('https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=6-29469', {
    props: {
        label: figma.string('Label'),
        showNecessityIndicator: figma.boolean('Necessity indicator'),
        showHelpText: figma.boolean('Help text'),
    },
    example: ({ label }) => html `<m-field
        id="field-id"
        label="${label}"
        requirementtext="required"
        helpid="field-help"
        helptext="Help text"
      >
        <input id="field-id" type="text" />
      </m-field>`,
});
