import type { Meta, StoryObj } from '@storybook/react'; import { Icon } from '../../../atoms'; import { MainNav } from './main-nav'; const meta = { component: MainNav, title: 'Organisms/Nav/MainNav', } satisfies Meta; export default meta; type Story = StoryObj; export const Example: Story = { args: { items: [ { id: 'home', label: 'Home', href: '#home' }, { id: 'blog', label: 'Blog', href: '#blog' }, { id: 'projects', label: 'Projects', href: '#projects' }, { id: 'contact', label: 'Contact', href: '#contact' }, ], }, }; export const WithLogo: Story = { args: { items: [ { id: 'home', label: 'Home', href: '#home', logo: , }, { id: 'blog', label: 'Blog', href: '#blog', logo: , }, { id: 'projects', label: 'Projects', href: '#projects', logo: , }, { id: 'contact', label: 'Contact', href: '#contact', logo: , }, ], }, };