You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

418 B

拖拽上传

  • order: 4

样式简单一些。


var Dragger = antd.Upload.Dragger;
var Icon = antd.Icon;

var props = {
  name: 'file',
  action: '/upload.do'
};

React.render(
  <Dragger {...props}>
    <Icon type="plus" />
  </Dragger>,
  document.getElementById('components-upload-demo-drag-simple')
);