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

export default {
  title: "Pages/Resource",
  component: ResourcePage,
  parameters: {
    layout: "fullscreen",
  },
} as Meta;

const Template: StoryFn<ResourcePageProps> = (args) => (
  <ResourcePage {...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",
};
