mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
feat: add responvise page view (#2453)
This commit is contained in:
@@ -10,7 +10,7 @@ import type {
|
||||
} from '../components/page-list/all-page';
|
||||
import { PageListTrashView } from '../components/page-list/all-page';
|
||||
import PageList from '../components/page-list/all-page';
|
||||
import { NewPageButton } from '../components/page-list/new-page-buttton';
|
||||
import { NewPageButton } from '../components/page-list/components/new-page-buttton';
|
||||
import type { OperationCellProps } from '../components/page-list/operation-cell';
|
||||
import { OperationCell } from '../components/page-list/operation-cell';
|
||||
import { toast } from '../ui/toast';
|
||||
@@ -99,6 +99,14 @@ AffineAllPageList.args = {
|
||||
],
|
||||
};
|
||||
|
||||
export const AffinePublicPageList: StoryFn<PageListProps> = ({ ...props }) => (
|
||||
<PageList {...props} />
|
||||
);
|
||||
AffinePublicPageList.args = {
|
||||
...AffineAllPageList.args,
|
||||
isPublicWorkspace: true,
|
||||
};
|
||||
|
||||
export const AffineAllPageMobileList: StoryFn<PageListProps> = ({
|
||||
...props
|
||||
}) => <PageList {...props} />;
|
||||
|
||||
Reference in New Issue
Block a user