"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: ""
 * description: ""
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
function onDragOver() {
    console.log('dragover callback');
}
function onDrop(fileList) {
    console.log('drop callback : ', fileList);
}
exports.default = (function () {
    return (react_1.default.createElement(console_components_1.Upload.Dragger
    // 'text' | 'text-image' | 'image' | 'card' | 'picture' | 'picture-card' | 'none';
    , { 
        // 'text' | 'text-image' | 'image' | 'card' | 'picture' | 'picture-card' | 'none';
        listType: "image", onDragOver: onDragOver, onDrop: onDrop, defaultValue: [
            {
                name: 'IMG.png',
                state: 'done',
                url: 'https://img.alicdn.com/tps/TB19O79MVXXXXcZXVXXXXXXXXXX-1024-1024.jpg',
                imgURL: 'https://img.alicdn.com/tps/TB19O79MVXXXXcZXVXXXXXXXXXX-1024-1024.jpg',
            },
            {
                name: 'IMG.png',
                state: 'uploading',
                percent: 50,
                downloadURL: '',
                fileURL: 'https://img.alicdn.com/tps/TB19O79MVXXXXcZXVXXXXXXXXXX-1024-1024.jpg',
                imgURL: '',
            },
            {
                name: 'IMG.png',
                state: 'error',
                errorMsg: '上传失败提示',
                url: 'https://img.alicdn.com/tps/TB19O79MVXXXXcZXVXXXXXXXXXX-1024-1024.jpg',
                downloadURL: 'https://img.alicdn.com/tps/TB19O79MVXXXXcZXVXXXXXXXXXX-1024-1024.jpg',
                imgURL: 'https://img.alicdn.com/tps/TB19O79MVXXXXcZXVXXXXXXXXXX-1024-1024.jpg',
            },
        ] }));
});
