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

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