import React from 'react'; import { Button, ProgressBar } from 'react-bootstrap'; import { ExportProgress, ExportStage } from 'services/exportService'; import styled from 'styled-components'; import constants from 'utils/strings/constants'; export const ComfySpan = styled.span` word-spacing: 1rem; color: #ddd; `; interface Props { show: boolean; onHide: () => void; exportFolder: string; exportSize: string; exportStage: ExportStage; exportProgress: ExportProgress; resumeExport: () => void; cancelExport: () => void; pauseExport: () => void; } export default function ExportInProgress(props: Props) { return ( <>