import type { Meta, StoryObj } from "@storybook/preact";
import { Breadcrumb } from "./Breadcrumb";

const meta: Meta<typeof Breadcrumb> = { title: "Layouts/Breadcrumb", component: Breadcrumb };
export default meta;
type Story = StoryObj<typeof Breadcrumb>;

export const TwoLevels: Story = {
  args: { items: [{ label: "Clients", onClick: () => {} }, { label: "Alice Chen" }] },
};
export const ThreeLevels: Story = {
  args: { items: [{ label: "Home", onClick: () => {} }, { label: "Deals", onClick: () => {} }, { label: "Acme Contract" }] },
};
