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

figma.connect(
  'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=156-19077',
  {
    imports: ["import { Tile } from '@mozaic-ds/web-components/svelte';"],
    props: {
      appearance: figma.enum('Appearance', {
        Primary: 'primary',
        Secondary: 'secondary',
        Inverse: 'inverse',
      }),
    },
    example: ({ appearance }) => <Tile appearance={appearance}>Tile content</Tile>,
  },
);
