feat: add icons

This commit is contained in:
tzhangchi
2023-01-05 17:55:00 +08:00
parent 08beb6fa95
commit 1c19611add

View File

@@ -16,10 +16,10 @@ import {
CloudUnsyncedIcon, CloudUnsyncedIcon,
CloudInsyncIcon, CloudInsyncIcon,
UsersIcon, UsersIcon,
AddIcon,
} from '@blocksuite/icons'; } from '@blocksuite/icons';
import { useConfirm } from '@/providers/confirm-provider'; import { useConfirm } from '@/providers/confirm-provider';
import { toast } from '@/ui/toast'; import { toast } from '@/ui/toast';
interface LoginModalProps { interface LoginModalProps {
open: boolean; open: boolean;
onClose: () => void; onClose: () => void;
@@ -76,6 +76,7 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
style={{ style={{
float: 'left', float: 'left',
marginTop: '6px', marginTop: '6px',
marginLeft: '10px',
marginRight: '10px', marginRight: '10px',
}} }}
width="24" width="24"
@@ -122,6 +123,14 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
setCreateWorkspaceOpen(true); setCreateWorkspaceOpen(true);
}} }}
> >
<AddIcon
style={{
fontSize: '20px',
top: '4px',
position: 'relative',
marginRight: '10px',
}}
/>
Create Or Import Create Or Import
</Button> </Button>
</li> </li>