mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
18 lines
449 B
TypeScript
18 lines
449 B
TypeScript
import type { Meta, StoryFn } from '@storybook/react';
|
|
|
|
import type { EmptyContentProps } from './index';
|
|
import { Empty } from './index';
|
|
|
|
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',
|
|
};
|