import type { Meta, StoryObj } from "@storybook/react";
import Component from "./ProductCard";

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

export default meta;

type Story = StoryObj<typeof Component>;

export const Default: Story = {
  render: (args) => <Component {...args} />,
  args: {
    product: {
      id: "prod_1",
      title: "Trail Blazer LED Bar",
      price: 149.99,
      image: "/assets/sample-product.jpg",
    },
  },
};
