mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-02 14:49:44 +08:00
chore: change style
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user