import React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { Resource, ResourceProps } from "./Resource";

export default {
  title: "Organisms/Resource",
  component: Resource,
} as Meta;

const Template: StoryFn<ResourceProps> = (args) => <Resource {...args} />;

export const Default = Template.bind({});

Default.args = {
  title: "A practitioner’s guide to starting your own practice",
  content: "some long content",
  viewsCount: 125,
  commentsCount: 10,
  userName: "John Doe",
  profileImage: "images/avatar.jpeg",
  subheader: "2 months ago"
};
