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

View File

@@ -0,0 +1,16 @@
import type { Meta, StoryFn } from '@storybook/react';
import { Empty, type EmptyContentProps } from '.';
export default {
title: 'UI/Empty',
component: Empty,
} satisfies Meta<typeof Empty>;
const Template: StoryFn<EmptyContentProps> = args => <Empty {...args} />;
export const Default: StoryFn<EmptyContentProps> = Template.bind(undefined);
Default.args = {
title: 'No Data',
description: 'No Data',
};