aboutsummaryrefslogtreecommitdiffstats
path: root/graphgraph-fe/src/DownloadExport.js
diff options
context:
space:
mode:
Diffstat (limited to 'graphgraph-fe/src/DownloadExport.js')
-rw-r--r--graphgraph-fe/src/DownloadExport.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/graphgraph-fe/src/DownloadExport.js b/graphgraph-fe/src/DownloadExport.js
deleted file mode 100644
index b031773..0000000
--- a/graphgraph-fe/src/DownloadExport.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react'
-import { Button } from 'react-bootstrap'
-import { exportSchema } from './requests'
-
-
-class DownloadExport extends React.Component {
- constructor (props, context) {
- super(props, context)
- this.download = this.download.bind(this)
- }
-
- download() {
-
- setTimeout(() => {
- const response = {
- file: exportSchema(this.props.schemaVersion),
- };
- window.open(response.file);
- }, 100);
- }
-
- render() {
- return (
- <Button onClick={this.download}>Download as XMI</Button>
- );
- }
-}
-
-export default DownloadExport