chore: remove unused code (#3102)

(cherry picked from commit da140b0b85)
This commit is contained in:
Alex Yang
2023-07-08 14:49:11 +08:00
parent 83d92af07d
commit 348c56ba30
10 changed files with 1 additions and 1621 deletions
@@ -1,24 +0,0 @@
import { AffineLoading } from '@affine/component/affine-loading';
import type { StoryFn } from '@storybook/react';
export default {
title: 'AFFiNE/Loading',
component: AffineLoading,
};
export const Default: StoryFn = ({ width, loop, autoplay, autoReverse }) => (
<div
style={{
width: width,
height: width,
}}
>
<AffineLoading loop={loop} autoplay={autoplay} autoReverse={autoReverse} />
</div>
);
Default.args = {
width: 100,
loop: true,
autoplay: true,
autoReverse: true,
};
@@ -1,6 +1,5 @@
import { Empty } from '@affine/component';
import { toast } from '@affine/component';
import { AffineLoading } from '@affine/component/affine-loading';
import type { OperationCellProps } from '@affine/component/page-list';
import { PageListTrashView } from '@affine/component/page-list';
import { PageList } from '@affine/component/page-list';
@@ -13,7 +12,7 @@ import { userEvent } from '@storybook/testing-library';
export default {
title: 'AFFiNE/PageList',
component: AffineLoading,
component: PageList,
};
export const AffineOperationCell: StoryFn<OperationCellProps> = ({