|
@@ -4,7 +4,7 @@ import React, { useState, useEffect, useRef } from "react";
|
|
|
|
|
|
import { Modal } from "./Modal";
|
|
|
import { ToolButton } from "./ToolButton";
|
|
|
-import { clipboard, exportFile, downloadFile, svgFile, link } from "./icons";
|
|
|
+import { clipboard, exportFile, link } from "./icons";
|
|
|
import { Island } from "./Island";
|
|
|
import { ExcalidrawElement } from "../element/types";
|
|
|
import { AppState } from "../types";
|
|
@@ -133,7 +133,7 @@ function ExportModal({
|
|
|
<Stack.Row gap={2}>
|
|
|
<ToolButton
|
|
|
type="button"
|
|
|
- icon={downloadFile}
|
|
|
+ label="PNG"
|
|
|
title={t("buttons.exportToPng")}
|
|
|
aria-label={t("buttons.exportToPng")}
|
|
|
onClick={() => onExportToPng(exportedElements, scale)}
|
|
@@ -141,7 +141,7 @@ function ExportModal({
|
|
|
/>
|
|
|
<ToolButton
|
|
|
type="button"
|
|
|
- icon={svgFile}
|
|
|
+ label="SVG"
|
|
|
title={t("buttons.exportToSvg")}
|
|
|
aria-label={t("buttons.exportToSvg")}
|
|
|
onClick={() => onExportToSvg(exportedElements, scale)}
|