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=11697-6444', {
    props: {
        expanded: figma.enum('is expanded', {
            True: true,
            False: false,
        }),
        hasHeader: figma.boolean('Has a header'),
        hasShortcuts: figma.boolean('Has shortcuts'),
        hasFooter: figma.boolean('Has a footer'),
    },
    example: ({ expanded }) => html `<m-sidebar expanded="${expanded}">
        <m-sidebar-header slot="header" title="Product name" logo="/logo.png"></m-sidebar-header>
      </m-sidebar>`,
});
