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

const meta: Meta<typeof Bar> = {
    title: "Base/Bar",
    component: Bar,
    parameters: {
        layout: "centered",
    },
    argTypes: {
        onClick: { actions: "clicked" }
    }
}
export default meta;

type story = StoryObj<typeof Bar>;



export const primary: story = {
    args: {
        index: 3,
    },
}