File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import CloseIcon from "@mui/icons-material/Close" ;
22import InfoIcon from "@mui/icons-material/Info" ;
33import {
4- AppBar ,
5- Box ,
6- Dialog ,
7- IconButton ,
8- Paper ,
9- Slide ,
10- Stack ,
11- Toolbar ,
12- Typography
4+ AppBar ,
5+ Box ,
6+ Dialog ,
7+ IconButton ,
8+ Paper ,
9+ Slide ,
10+ Stack ,
11+ Toolbar ,
12+ Typography
1313} from "@mui/material" ;
1414import React from "react" ;
15- import { DiagramDownload } from "./DownloadDigram" ;
1615
1716interface FullscreenEditorDialogProps {
1817 open : boolean ;
@@ -36,8 +35,6 @@ export default function FullscreenEditorDialog({
3635 infoContent,
3736 children,
3837 invisible = false ,
39- sourceCode = "" ,
40- fileName = "diagram"
4138} : FullscreenEditorDialogProps ) {
4239 return (
4340 < Dialog
@@ -57,11 +54,6 @@ export default function FullscreenEditorDialog({
5754 < Typography sx = { { ml : 2 , flex : 1 } } variant = "h6" >
5855 { title }
5956 </ Typography >
60- < DiagramDownload
61- diagram = { undefined }
62- fileName = { fileName }
63- sourceCode = { sourceCode }
64- />
6557 { infoContent && (
6658 < IconButton color = "inherit" onClick = { ( ) => setShowInfo ( ! showInfo ) } >
6759 < InfoIcon />
You can’t perform that action at this time.
0 commit comments