"use strict";

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

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

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

var _2 = require("../..");

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

_reactDom["default"].render([/*#__PURE__*/_react["default"].createElement(_["default"], {
  listType: "text",
  action: "https://www.easy-mock.com/mock/5b713974309d0d7d107a74a3/alifd/upload",
  accept: "image/png, image/jpg, image/jpeg, image/gif, image/bmp",
  beforeUpload: function beforeUpload() {},
  onChange: onChange,
  key: "5"
}, /*#__PURE__*/_react["default"].createElement(_2.Button, {
  type: "secondary",
  style: {
    margin: '0 0 10px'
  }
}, "upload", ' '))], document.getElementById('upload-demo-17'));

function onChange(info) {
  console.log('onChange callback : ', info);
}