mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 08:06:24 +08:00
15 lines
401 B
TypeScript
15 lines
401 B
TypeScript
import type { Meta, StoryFn } from '@storybook/react';
|
|
|
|
import type { LoadingProps } from './loading';
|
|
import { Loading } from './loading';
|
|
|
|
export default {
|
|
title: 'UI/Loading',
|
|
component: Loading,
|
|
} satisfies Meta<typeof Loading>;
|
|
|
|
const Template: StoryFn<LoadingProps> = args => <Loading {...args} />;
|
|
|
|
export const Default: StoryFn<LoadingProps> = Template.bind(undefined);
|
|
Default.args = {};
|