import React from 'react'; import { Button, ProgressBar } from 'react-bootstrap'; import styled from 'styled-components'; import constants from 'utils/strings/constants'; import { ExportStage, ExportStats } from './ExportModal'; export const ComfySpan = styled.span` word-spacing:1rem; color:#ddd; `; interface Props { show: boolean onHide: () => void exportFolder: string exportSize: string exportStage: ExportStage exportStats: ExportStats exportFiles: () => void; cancelExport: () => void pauseExport: () => void; } export default function ExportInProgress(props: Props) { return ( <>
{props.exportStats.current} / {props.exportStats.total} files exported
{props.exportStage === ExportStage.PAUSED ? : }
); }