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

figma.connect(
  'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=6-21619',
  {
    imports: ["import { StatusBadge } from '@mozaic-ds/web-components/svelte';"],
    props: {
      label: figma.string('Label'),
      status: figma.enum('Status', {
        Information: 'info',
        Success: 'success',
        Warning: 'warning',
        Error: 'error',
        Neutral: 'neutral',
      }),
    },
    example: ({ label, status }) => <StatusBadge label={label} status={status}></StatusBadge>,
  },
);
