import { Trans } from "react-i18next"; import { IntegrationService } from "@shared/types"; import Text from "@shared/components/Text"; import useStores from "~/hooks/useStores"; import DropToImport from "~/scenes/Settings/components/DropToImport"; export function ImportSlabDialog() { const { dialogs } = useStores(); return ( Import a zip file of Markdown documents exported from Slab – collections, posts, images, and attachments will be imported. In Slab, open the admin settings and use the Export option to download an archive of your content. } onSubmit={dialogs.closeAllModals} service={IntegrationService.Slab} > Drag and drop the zip file exported from Slab, or click to upload ); }