feat: change component name 'Header' to 'header' & update icons version

This commit is contained in:
QiShaoXuan
2022-12-06 18:59:26 +08:00
parent d3d45a9dd7
commit f160b68a19
9 changed files with 11 additions and 11 deletions
@@ -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>
+3 -3
View File
@@ -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 -1
View File
@@ -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';