"use strict";
exports.__esModule = true;
exports.DragNDropFieldContent = void 0;
var tslib_1 = require("tslib");
require("./DragNDropFieldContent.css");
var react_1 = (0, tslib_1.__importDefault)(require("react"));
// import { IconAttach } from '../../../icons/IconAttach/IconAttach';
// import { cn } from '../../../utils/bem';
// import { Button } from '../../Button/Button';
var Typography_1 = require("../../Typography");
var formatFileRequirements_1 = require("./formatFileRequirements");
// const cnDragNDropFieldContent = cn('DragNDropFieldContent');
var DragNDropFieldContent = function (_a) {
    var accept = _a.accept, maxSize = _a.maxSize, multiple = _a.multiple;
    var requirements = (0, formatFileRequirements_1.formatFileRequirements)(accept, maxSize);
    var fileText = multiple ? 'файлы' : 'файл';
    return (react_1["default"].createElement(react_1["default"].Fragment, null,
        react_1["default"].createElement(Typography_1.Typography.Text, { align: "center" },
            "\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 ",
            fileText,
            " \u0441\u044E\u0434\u0430",
            requirements && (react_1["default"].createElement(react_1["default"].Fragment, null,
                react_1["default"].createElement("br", null),
                requirements)))));
};
exports.DragNDropFieldContent = DragNDropFieldContent;
