import { CloseIcon, ExportToHtmlIcon, ExportToMarkdownIcon, HelpIcon, NewIcon, NotionIcon, } from '@blocksuite/icons/rc'; import { IconButton } from '../../ui/button'; import { Tooltip } from '../../ui/tooltip'; import { BlockCard } from '../card/block-card'; import { importPageBodyStyle, importPageButtonContainerStyle, importPageContainerStyle, } from './index.css'; /** * @deprecated Not used */ export const ImportPage = ({ importMarkdown, importHtml, importNotion, onClose, }: { importMarkdown: () => void; importHtml: () => void; importNotion: () => void; onClose: () => void; }) => (
{ onClose(); }} >
Import
AFFiNE will gradually support more and more file types for import.  Provide feedback.
} title="Markdown" onClick={importMarkdown} /> } title="HTML" onClick={importHtml} /> } title="Notion" right={ } onClick={importNotion} /> } title="Coming soon..." disabled onClick={importHtml} />
);