import React from "react";

import { Meta, StoryObj } from "@storybook/react";

import { TitleBar } from ".";

const meta: Meta<typeof TitleBar> = {
  component: TitleBar,
  render: ({ children, ...args }) => {
    return <TitleBar {...args}>{children}</TitleBar>;
  },
};

export default meta;
type Story = StoryObj<typeof TitleBar>;

export const Primary: Story = {
  args: {
    title: "Titlebar",
  },
};
