feat: update desc for empty page (#2710)

This commit is contained in:
Whitewater authored and GitHub committed 2023-06-08 20:28:37 +08:00
1 parent 7ba5f82aef
commit ec99a0ce05
5 files changed
+94 -10

No files matched your search

@@ -138,7 +138,23 @@ AffineEmptyAllPageList.args = {
onCreateNewEdgeless: () => toast('Create new edgeless'),
onImportFile: () => toast('Import file'),
list: [],
fallback: <Empty description="empty description" />,
fallback: (
<Empty
title="Empty"
description={
<div>
empty description, click{' '}
<button
onClick={() => {
toast('click');
}}
>
button
</button>
</div>
}
/>
),
};
export const AffinePublicPageList: StoryFn<typeof PageList> = ({