import type { Meta, StoryObj } from '@storybook/react'; import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from '@konobangu/design-system/components/ui/menubar'; /** * A visually persistent menu common in desktop applications that provides * quick access to a consistent set of commands. */ const meta = { title: 'ui/Menubar', component: Menubar, tags: ['autodocs'], argTypes: {}, render: (args) => ( File New Tab ⌘T New Window Share Print ), parameters: { layout: 'centered', }, } satisfies Meta; export default meta; type Story = StoryObj; /** * The default form of the menubar. */ export const Default: Story = {}; /** * A menubar with a submenu. */ export const WithSubmenu: Story = { render: (args) => ( Actions Download Share Email link Messages Notes ), }; /** * A menubar with radio items. */ export const WithRadioItems: Story = { render: (args) => ( View Device Size Small Medium Large ), }; /** * A menubar with checkbox items. */ export const WithCheckboxItems: Story = { render: (args) => ( Filters Show All Unread Important Flagged ), };