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

figma.connect(
  'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/branch/tOAc8mV1PF5g0tjBfSbUXA/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=12945-18881',
  {
    imports: ["import { ActionBottomBar, IconButton } from '@mozaic-ds/web-components/svelte';"],
    props: {
      shadow: figma.enum('Has shadow', {
        True: true,
        False: false,
      }),
    },
    example: ({ shadow }) => (
      <ActionBottomBar shadow={shadow}>
        <div slot="right">
          <IconButton>
            <copy-24 slot="icon"></copy-24>
          </IconButton>
          <IconButton>
            <download-24 slot="icon"></download-24>
          </IconButton>
          <IconButton>
            <ai-24 slot="icon"></ai-24>
          </IconButton>
        </div>
      </ActionBottomBar>
    ),
  },
);
