import React from 'react'; import { Button } from 'react-bootstrap'; import { formatDateTime } from 'utils/file'; import constants from 'utils/strings/constants'; import { Label, Row, Value } from './Container'; import { ComfySpan } from './ExportInProgress'; import { ExportStats } from './ExportModal'; import InProgressIcon from './icons/InProgressIcon'; interface Props { show: boolean onHide: () => void exportFolder: string exportSize: string lastExportTime: number exportStats: ExportStats updateExportFolder: (newFolder: string) => void; exportFiles: () => void } export default function ExportFinished(props: Props) { return ( <>
{formatDateTime(props.lastExportTime)} {props.exportStats.total - props.exportStats.failed} / {props.exportStats.total} {props.exportStats.failed} / {props.exportStats.total} {props.exportStats.failed !== 0 && }
); }