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