import type { StoryObj, Meta } from '@storybook/react';

import { StackIcon } from '.';
import { Icon } from '../iconography';

const meta: Meta<typeof StackIcon> = {
  title: 'Components/StackIcon',
  component: StackIcon,
  argTypes: {},
};

export default meta;
type Story = StoryObj<typeof StackIcon>;

export const WithTypeCreate: Story = {
  name: 'With type create',
  render: () => (
    <div>
      <StackIcon type="create">
        <Icon.Catalogue width={24} height={24} />
      </StackIcon>
    </div>
  ),
};
