import type { Meta, StoryObj } from "@storybook/react";
import Card from "./Card";
import { data } from "../../utils/Data";
const meta: Meta<typeof Card> = {
    title: "Base/Card",
    component: Card,
    argTypes: {
        onClick: { action: "clicked" }
    }
}
export default meta;

type story = StoryObj<typeof Card>;

export const Cards: story = {
    name: "primary",
    args: {
        ...data[1]
    },
    render: (args) => {
        return (<>
            <Card {...args} />
        </>)
    }
}