snowballtools-base/packages/frontend/src/stories/Components/Icons/LinkChainIcon.stories.tsx
2024-05-14 19:32:47 +00:00

30 lines
574 B
TypeScript

import { Meta, StoryObj } from '@storybook/react';
import { LinkChainIcon } from 'components/shared/CustomIcon';
const meta: Meta<typeof LinkChainIcon> = {
title: 'Icons/LinkChainIcon',
component: LinkChainIcon,
tags: ['autodocs'],
argTypes: {
size: {
control: 'text',
},
name: {
control: 'text',
},
},
};
export default meta;
type Story = StoryObj<typeof LinkChainIcon>;
export const Default: Story = {
render: ({ size, name }) => <LinkChainIcon size={size} name={name} />,
args: {
size: '24px',
name: 'plus',
},
};