|
|
@ -37,7 +37,7 @@ class ExportMenu extends React.PureComponent {
|
|
|
|
const { isVisible } = this.state
|
|
|
|
const { isVisible } = this.state
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="export-container">
|
|
|
|
<div className="export-container" id="export-menu">
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
selected={isVisible}
|
|
|
|
selected={isVisible}
|
|
|
|
className="exportButton"
|
|
|
|
className="exportButton"
|
|
|
@ -85,10 +85,10 @@ class ExportMenu extends React.PureComponent {
|
|
|
|
<div className="save-container">
|
|
|
|
<div className="save-container">
|
|
|
|
<span>Save as</span>
|
|
|
|
<span>Save as</span>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<button onClick={this.handleExport('png')} className="save-button">
|
|
|
|
<button onClick={this.handleExport('png')} className="save-button" id="export-png">
|
|
|
|
PNG
|
|
|
|
PNG
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button onClick={this.handleExport('svg')} className="save-button">
|
|
|
|
<button onClick={this.handleExport('svg')} className="save-button" id="export-svg">
|
|
|
|
SVG
|
|
|
|
SVG
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|