import type { Meta, StoryObj } from "@storybook/react-vite";
import { ModuleCard } from "../index";
import { moduleBlocks } from "./story-data";

const meta = {
  title: "UI/ModuleCard",
  component: ModuleCard,
  args: {
    module: moduleBlocks.compact,
  },
} satisfies Meta<typeof ModuleCard>;

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

export const Compact: Story = {};
export const Long: Story = {
  args: {
    module: moduleBlocks.long,
  },
};
