import type { Meta, StoryObj } from "@storybook/react";
import type { TitleProps } from "./Title";
import { Title } from "./Title";

type StoryType = StoryObj<typeof Title>;

const meta: Meta<typeof Title> = {
  title: "Components/Title",
  component: Title,
};

export const Default: StoryType = {
  render: (args: TitleProps) => <Title {...args} />,
  args: {
    title: "General Liability",
    description: "Business Co.",
  },
};

export default meta;
