import figma from '@figma/code-connect';

figma.connect(
  'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=19990-9572',
  {
    imports: ["import { Combobox } from '@mozaic-ds/web-components/svelte';"],
    props: {
      showFieldLabel: figma.boolean('Show Field label'),
    },
    example: () => (
      <Combobox
        value=""
        placeholder="Select an option"
        options='[{"label":"Option 1","value":"option-1"},{"label":"Option 2","value":"option-2"}]'
      ></Combobox>
    ),
  },
);
