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