mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat(component): add storybook (#5079)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Loading, type LoadingProps } from '.';
|
||||
|
||||
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 = {};
|
||||
Reference in New Issue
Block a user