blob: 93b7281394a132feb2ab016034a6ca361640c8bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import type { ComponentMeta, ComponentStory } from '@storybook/react';
import { NavbarItem } from './navbar-item';
/**
* NavbarItem - Storybook Meta
*/
export default {
title: 'Organisms/Navbar/Item',
component: NavbarItem,
argTypes: {},
} as ComponentMeta<typeof NavbarItem>;
const Template: ComponentStory<typeof NavbarItem> = (args) => (
<NavbarItem {...args} />
);
/**
* NavbarItem Stories - Default
*/
export const Default = Template.bind({});
Default.args = {
children: 'The modal contents.',
icon: 'cog',
id: 'default',
label: 'Open example',
};
/**
* NavbarItem Stories - ModalVisibleAfterBreakpoint
*/
export const ModalVisibleAfterBreakpoint = Template.bind({});
ModalVisibleAfterBreakpoint.args = {
children: 'The modal contents.',
icon: 'cog',
id: 'modal-visible',
label: 'Open example',
modalVisibleFrom: 'md',
};
|