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

figma.connect(
  'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=5-6412',
  {
    imports: ["import { Avatar } from '@mozaic-ds/web-components/svelte';"],
    props: {
      size: figma.enum('Size', {
        'S (32px)': 's',
        'M (48px)': 'm',
        'L (64px)': 'l',
      }),
    },
    example: ({ size }) => <Avatar size={size}>MM</Avatar>,
  },
);
