import { Meta, StoryObj } from "@storybook/react"; import { Button } from "@components/Buttons/Button"; import { IconButton } from "@components/Buttons/IconButton"; import { Flex } from "@components/Layout/Flex"; import { LayoutArgTypes, RenderPropsArgTypes } from "@sb/helpers"; import { Navbar } from "."; export default { title: "Layouts/Navbar", component: Navbar, argTypes: { ...RenderPropsArgTypes, ...LayoutArgTypes, }, } as Meta; type Story = StoryObj; export const Primary: Story = { args: { children: [ Title , , ], }, }; export const WithSubtitle: Story = { args: { children: [ Page subtitle Page Title , , ], }, }; export const SimpleTitle: Story = { args: { children: [ Dashboard , ], }, }; export const WithMultipleActions: Story = { args: { children: [ Edit Profile , , ], }, }; export const CenteredTitle: Story = { args: { children: [ , Centered Title , , ], }, }; export const NavigationOnly: Story = { args: { children: [ , , ], }, }; export const WithCustomBackButton: Story = { args: { children: [ Custom Back Icon , , ], }, };