import React, { PropTypes, Component } from 'react' import Dropzone from 'react-dropzone' class ImportDialogBox extends Component { constructor(props) { super(props) this.state = { } } handleExport = format => () => { window.open(`${window.location.pathname}/export.${format}`, '_blank') } handleFile = (files, e) => { this.props.onFileAdded(files[0]) } render = () => { return (
To upload a file, drop it here:
See docs.metamaps.cc for instructions.