import { Meta, Story } from '@storybook/react'; import { Clock, Icon } from 'lucide-react'; import { SidebarItem } from '.'; const meta: Meta = { title: 'Sidebar/SidebarItem', component: SidebarItem, }; export default meta; interface StoryProps { icon?: Icon; label: string; } function Template({ icon, label }: StoryProps) { return ( ); } export const Primary: Story = Template.bind({}); Primary.args = { icon: Clock, label: 'Item with icon', }; export const WithoutIcon: Story = Template.bind({}); WithoutIcon.args = { label: 'Item without icon', };