import type { Meta, StoryObj } from "@storybook/react";
import type { LogoProps } from "..";
import { Logo } from "..";
import { excludeControls } from "../../utils";

type StoryType = StoryObj<typeof Logo>;

const meta: Meta<typeof Logo> = {
  title: "Components/Logo",
  component: Logo,
  argTypes: {
    width: {
      control: "number",
    },
    ...excludeControls("height"),
  },
  args: {
    width: "144",
  },
};

export const Default: StoryType = {
  render: (args: LogoProps) => <Logo {...args} />,
  args: {},
};

export default meta;
