import React from "react";
import { Story, Meta } from "@storybook/react/types-6-0";
import Header, { HeaderProps } from "./Header";
import { ThemeProvider } from "../ThemeProvider";

export default {
  title: "Components/Layout/Header",
  component: Header,
} as Meta;

const Template: Story<HeaderProps> = (args) => (
  <ThemeProvider>
    <Header {...args} />
  </ThemeProvider>
);

export const Default = Template.bind({});
Default.args = {
  user: {},
};
