import React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { MarketPlaceCard, MarketPlaceCardProps } from "./MarketPlaceCard";

export default {
  title: "Molecules/Marketplace Card",
  component: MarketPlaceCard,
} as Meta;

const Template: StoryFn<MarketPlaceCardProps> = (args) => (
  <MarketPlaceCard {...args} />
);

export const Pdf = Template.bind({});
Pdf.args = {
  url: "https://picsum.photos/259/236",
  title: "A practitioner's guide to starting your own practice",
  tag: "$299.5",
  mediaText: "PDF by",
  mediaType: "pdf",
  userName: "Dr Laura McKendry",
};
