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=11975-12550', {
    props: {
        format: figma.enum('🚫 Format', {
            'Inline (default)': 'inline',
            Stacked: 'stacked',
        }),
        valid: figma.enum('Is invalid', {
            False: true,
            True: false,
        }),
        uploading: figma.enum('Is uploading', {
            False: false,
            True: true,
        }),
        hasInformation: figma.boolean('Has information'),
        hasPreviewFeature: figma.boolean('Has preview feature'),
    },
    example: ({ format, valid }) => html `<m-file-uploader-item
        format="${format}"
        valid="${valid}"
        information="Additional information"
        deletebuttonlabel="Delete"
      ></m-file-uploader-item>`,
});
