"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getFileIcon", {
    enumerable: true,
    get: function() {
        return getFileIcon;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _Icon = require("../../_Icon");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const getFileIcon = (extension, size)=>{
    const iconSize = size === 'xs' ? 'xs' : 's';
    switch(extension){
        case 'pdf':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankPdfOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'doc':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankDocOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'docx':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankDocOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'xls':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankXlsOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'xlsx':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankXlsOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'txt':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankTxtOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'csv':
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankCsvOutline, {
                size: iconSize,
                color: "inherit"
            });
        default:
            return /*#__PURE__*/ _react.default.createElement(_Icon.IconBlankOutline, {
                size: iconSize,
                color: "inherit"
            });
    }
};
