chore: change style

This commit is contained in:
JimmFly
2022-12-09 14:51:59 +08:00
parent 9ba01e3a5a
commit 4bcea812f0
5 changed files with 49 additions and 14 deletions
@@ -1,11 +1,20 @@
import React from 'react';
import { MiddleAddIcon } from '@blocksuite/icons';
import { StyledModalFooterContent } from './style';
import { useEditor } from '@/providers/editor-provider';
import { IconButton } from '@/ui/button';
const QuickSearchFooter = () => {
const { createPage } = useEditor();
return (
<StyledModalFooterContent>
<MiddleAddIcon />
<IconButton>
<MiddleAddIcon
onClick={() => {
createPage();
}}
/>
</IconButton>
<span>New page</span>
</StyledModalFooterContent>
);