blob: 80e183ee549126a290425a38a62d7dc62e71580e (
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
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
import MagnifyingGlassIcon from './magnifying-glass';
export default {
title: 'Atoms/Icons',
component: MagnifyingGlassIcon,
argTypes: {
className: {
control: {
type: 'text',
},
description: 'Set additional classnames.',
table: {
category: 'Styles',
},
type: {
name: 'string',
required: false,
},
},
},
} as ComponentMeta<typeof MagnifyingGlassIcon>;
const Template: ComponentStory<typeof MagnifyingGlassIcon> = (args) => (
<MagnifyingGlassIcon {...args} />
);
export const MagnifyingGlass = Template.bind({});
|