function _define_property(obj, key, value) {
    if (key in obj) {
        Object.defineProperty(obj, key, {
            value: value,
            enumerable: true,
            configurable: true,
            writable: true
        });
    } else {
        obj[key] = value;
    }
    return obj;
}
function _object_spread(target) {
    for(var i = 1; i < arguments.length; i++){
        var source = arguments[i] != null ? arguments[i] : {};
        var ownKeys = Object.keys(source);
        if (typeof Object.getOwnPropertySymbols === "function") {
            ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
                return Object.getOwnPropertyDescriptor(source, sym).enumerable;
            }));
        }
        ownKeys.forEach(function(key) {
            _define_property(target, key, source[key]);
        });
    }
    return target;
}
import React from 'react';
import { Upload } from '.';
var defaultProps = {
    disabled: false,
    content: 'Загрузите файл формата любого'
};
var state = {
    status: undefined,
    progress: undefined,
    message: 'Подсказывающее сообщение'
};
var valid = function() {
    return {
        message: 'Добавлен файл формата ',
        status: 'success',
        data: null
    };
};
var func = function() {};
export var Default = function() {
    return /*#__PURE__*/ React.createElement(Upload, _object_spread({
        status: state.status,
        progress: state.progress,
        message: state.message,
        loader: /*#__PURE__*/ React.createElement("div", null, "Кастомная загрузка ", state.progress, "%"),
        onChange: func,
        onValidation: func,
        validate: valid
    }, defaultProps));
};
