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

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