import React from "react";
import { Meta, StoryFn } from "@storybook/react";
import { PageHeader, PageHeaderProps } from "./PageHeader";

export default {
  title: "Organisms/Community/PageHeader",
  component: PageHeader,
  parameters: {
    layout: "fullscreen",
  },
} as Meta;

const Template: StoryFn<PageHeaderProps> = (args) => <PageHeader {...args} />;

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

Default.args = {
  bannerImg: "https://placekitten.com/1400",
  profileImg: "/images/avatar.jpeg",
  category: "Private",
  usersCount: 2345,
};
