import figma, { html } from '@figma/code-connect/html';
figma.connect('https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=156-18764', {
    props: {
        appearance: figma.enum('Appearance', {
            Primary: 'primary',
            Secondary: 'secondary',
        }),
        trigger: figma.enum('Triggering event', {
            Container: 'container',
            Icon: 'icon',
            Button: 'button',
        }),
    },
    example: ({ appearance, trigger }) => html `<m-tile-expandable appearance="${appearance}" trigger="${trigger}">
        Tile expandable
        <div slot="details">Expandable details</div>
      </m-tile-expandable>`,
});
