File tree Expand file tree Collapse file tree 2 files changed +12
-31
lines changed
packages/pluggableWidgets/datagrid-web/src Expand file tree Collapse file tree 2 files changed +12
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import { ReactNode } from "react" ;
2- import { ExportWidget } from "../../components/ExportWidget" ;
2+ import { ExportAlert } from "../../components/ExportAlert" ;
3+ import { PseudoModal } from "../../components/PseudoModal" ;
34import { useExportProgressService , useTexts } from "../../model/hooks/injection-hooks" ;
45
56export const ExportProgressDialog = function ExportProgressDialog ( props : { onExportCancel ?: ( ) => void } ) : ReactNode {
@@ -9,14 +10,15 @@ export const ExportProgressDialog = function ExportProgressDialog(props: { onExp
910 if ( ! progressSrv . inProgress ) return null ;
1011
1112 return (
12- < ExportWidget
13- alertLabel = { texts . exportDialogLabel ?? "Export progress" }
14- cancelLabel = { texts . cancelExportLabel ?? "Cancel data export" }
15- failed = { false }
16- onCancel = { props . onExportCancel }
17- open = { progressSrv . inProgress }
18- progress = { progressSrv . loaded }
19- total = { progressSrv . total }
20- />
13+ < PseudoModal >
14+ < ExportAlert
15+ alertLabel = { texts . exportDialogLabel ?? "Export progress" }
16+ cancelLabel = { texts . cancelExportLabel ?? "Cancel data export" }
17+ failed = { false }
18+ onCancel = { props . onExportCancel }
19+ progress = { progressSrv . loaded }
20+ total = { progressSrv . total }
21+ />
22+ </ PseudoModal >
2123 ) ;
2224} ;
You can’t perform that action at this time.
0 commit comments