feat: replace button from @toeverything/components (#3608)

This commit is contained in:
Qi
2023-08-08 12:38:02 +08:00
committed by GitHub
parent 7826ecfa58
commit 6efe29f7ef
60 changed files with 112 additions and 500 deletions
+1
View File
@@ -17,6 +17,7 @@
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
"@blocksuite/icons": "^2.1.29",
"@toeverything/components": "^0.0.8",
"@toeverything/theme": "^0.7.9",
"clsx": "^2.0.0",
"foxact": "^0.2.17",
@@ -1,4 +1,4 @@
import { Button, IconButton, Tooltip } from '@affine/component';
import { Tooltip } from '@affine/component';
import type { ImageBlockModel } from '@blocksuite/blocks';
import { assertExists } from '@blocksuite/global/utils';
import {
@@ -12,6 +12,7 @@ import {
ViewBarIcon,
} from '@blocksuite/icons';
import type { Workspace } from '@blocksuite/store';
import { Button, IconButton } from '@toeverything/components/button';
import clsx from 'clsx';
import { useErrorBoundary } from 'foxact/use-error-boundary';
import { useAtom } from 'jotai';