import type { Meta, StoryObj } from "@storybook/react"; import { Page } from "../src/components/Page/Page"; import "./Page.stories.css"; import { Home, Star, ShoppingBag, Server, Settings, HelpCircle, } from "lucide-react"; import { MenuItem, MenuItemComponentProps } from "../src/components/Menu/Menu"; import { NetworkIndicator } from "../src/components/NetworkIndicator/NetworkIndicator"; const meta = { title: "Layouts/Page", component: Page, parameters: { layout: "fullwidth", }, tags: ["autodocs"], argTypes: {}, } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { args: { children: ( Hello World ), items: [ { type: "menu-item", Component: (p: MenuItemComponentProps) => ( Dashboard ), }, { type: "menu-item", Component: (p: MenuItemComponentProps) => ( Favorties ), }, { type: "separator", }, { type: "menu-title", title: "rent", }, { type: "menu-item", Component: (p: MenuItemComponentProps) => ( Purchases ), }, { type: "separator", }, { type: "menu-title", title: "host", }, { type: "menu-item", Component: (p: MenuItemComponentProps) => ( Availabilities ), }, { type: "menu-item", Component: (p: MenuItemComponentProps) => ( Settings ), }, { type: "separator", }, { type: "menu-item", Component: (p: MenuItemComponentProps) => ( Help ), }, ] satisfies MenuItem[], Right: , }, };