"use strict";

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

var _ = _interopRequireDefault(require(".."));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

// import { Button, Icon } from '../..';
// function handleClick(e) {
//   e.stopPropagation();
//   // download template
// }
_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"].Dragger, {
  action: "http://118.31.33.81/docs/upload",
  listType: "text" // disabled
  ,
  withCredentials: false // accept="image/png, image/jpg, image/jpeg, image/gif, image/bmp"
  ,
  onDragOver: onDragOver // @ts-ignore
  ,
  onDrop: onDrop
}), document.getElementById('upload-demo-5'));

function onDragOver() {
  console.log('dragover callback');
}

function onDrop(fileList) {
  console.log('drop callback : ', fileList);
}