mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
feat: change component name 'Header' to 'header' & update icons version
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@ import {
|
||||
PaperIcon,
|
||||
MiddleExportToHtmlIcon,
|
||||
MiddleExportToMarkdownIcon,
|
||||
MoreVerticalIcon,
|
||||
MoreVertical_24pxIcon,
|
||||
} from '@blocksuite/icons';
|
||||
import { useEditor } from '@/providers/editor-provider';
|
||||
import ThemeModeSwitch from '@/components/theme-mode-switch';
|
||||
@@ -98,7 +98,7 @@ export const Header = ({ children }: PropsWithChildren<{}>) => {
|
||||
<ThemeModeSwitch />
|
||||
<Menu content={<PopoverContent />} placement="bottom-end">
|
||||
<IconButton>
|
||||
<MoreVerticalIcon />
|
||||
<MoreVertical_24pxIcon />
|
||||
</IconButton>
|
||||
</Menu>
|
||||
</StyledHeaderRightSide>
|
||||
@@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { Header } from '@/components/Header';
|
||||
import { Header } from '@/components/header';
|
||||
import { styled } from '@/styles';
|
||||
import { Table, TableCell, TableHead, TableRow, TableBody } from '../ui/table';
|
||||
import { useConfirm } from '@/providers/confirm-provider';
|
||||
import { IconButton } from '@/ui/button';
|
||||
import { MoreVerticalIcon } from '@blocksuite/icons';
|
||||
import { MoreVertical_24pxIcon } from '@blocksuite/icons';
|
||||
import { Menu, MenuItem } from '@/ui/menu';
|
||||
|
||||
const StyledTableContainer = styled.div(() => {
|
||||
@@ -69,7 +69,7 @@ export const AllPage = () => {
|
||||
disablePortal={true}
|
||||
>
|
||||
<IconButton hoverBackground="#E0E6FF">
|
||||
<MoreVerticalIcon />
|
||||
<MoreVertical_24pxIcon />
|
||||
</IconButton>
|
||||
</Menu>
|
||||
</TableCell>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { NextPage } from 'next';
|
||||
import { styled } from '@/styles';
|
||||
import { PageHeader } from '@/components/Header';
|
||||
import { PageHeader } from '@/components/header';
|
||||
import { FAQ } from '@/components/faq';
|
||||
import EdgelessToolbar from '@/components/edgeless-toolbar';
|
||||
import MobileModal from '@/components/mobile-modal';
|
||||
|
||||
Reference in New Issue
Block a user