import { Flex, Heading } from '@chakra-ui/react' import React from 'react' import { OrgRoamNode } from '../../api' export interface TitleProps { previewNode: OrgRoamNode | undefined } export const Title = (props: TitleProps) => { const { previewNode } = props return ( {/* { * // e.preventDefault() * // openContextMenu(previewNode, e) * // }} * /> */} {previewNode?.title} ) }