Skip to content

Commit dfabac5

Browse files
committed
SOme adjustments in the fullscreen for downloading
1 parent 3faa4ab commit dfabac5

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

components/hylimo/FullscreenEditorDialog.tsx

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
import CloseIcon from "@mui/icons-material/Close";
22
import InfoIcon from "@mui/icons-material/Info";
33
import {
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";
1414
import React from "react";
15-
import { DiagramDownload } from "./DownloadDigram";
1615

1716
interface 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 />

0 commit comments

Comments
 (0)