import { IconButton } from '@affine/component/ui/button'; import { Menu, MenuItem } from '@affine/component/ui/menu'; import { CloseIcon, PropertyIcon } from '@blocksuite/icons/rc'; import { useState } from 'react'; import * as styles from './index.css'; import { useNavConfig } from './use-nav-config'; export const MobileNavbar = () => { const [openMenu, setOpenMenu] = useState(false); const navConfig = useNavConfig(); const menuItems = ( <> {navConfig.map(item => { return ( ); })} > ); return (