feat(component): add storybook (#5079)

This commit is contained in:
Cats Juice
2023-12-04 08:32:19 +00:00
parent 9c50dbc362
commit d911d21d1c
30 changed files with 1640 additions and 50 deletions
@@ -0,0 +1,18 @@
import type { Meta, StoryFn } from '@storybook/react';
import {
AnimatedCollectionsIcon,
type CollectionsIconProps,
} from './collections-icon';
export default {
title: 'UI/Lottie/Collection Icons',
component: AnimatedCollectionsIcon,
} satisfies Meta<typeof AnimatedCollectionsIcon>;
const Template: StoryFn<CollectionsIconProps> = args => (
<AnimatedCollectionsIcon {...args} />
);
export const Default: StoryFn<CollectionsIconProps> = Template.bind(undefined);
Default.args = {};
@@ -0,0 +1,15 @@
import type { Meta, StoryFn } from '@storybook/react';
import { AnimatedDeleteIcon, type DeleteIconProps } from './delete-icon';
export default {
title: 'UI/Lottie/Delete Icon',
component: AnimatedDeleteIcon,
} satisfies Meta<typeof AnimatedDeleteIcon>;
const Template: StoryFn<DeleteIconProps> = args => (
<AnimatedDeleteIcon {...args} />
);
export const Default: StoryFn<DeleteIconProps> = Template.bind(undefined);
Default.args = {};