import React from "react";
import { IconBlankCsvOutline, IconBlankDocOutline, IconBlankOutline, IconBlankPdfOutline, IconBlankTxtOutline, IconBlankXlsOutline } from "../../_Icon";
export const getFileIcon = (extension, size)=>{
    const iconSize = size === 'xs' ? 'xs' : 's';
    switch(extension){
        case 'pdf':
            return /*#__PURE__*/ React.createElement(IconBlankPdfOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'doc':
            return /*#__PURE__*/ React.createElement(IconBlankDocOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'docx':
            return /*#__PURE__*/ React.createElement(IconBlankDocOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'xls':
            return /*#__PURE__*/ React.createElement(IconBlankXlsOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'xlsx':
            return /*#__PURE__*/ React.createElement(IconBlankXlsOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'txt':
            return /*#__PURE__*/ React.createElement(IconBlankTxtOutline, {
                size: iconSize,
                color: "inherit"
            });
        case 'csv':
            return /*#__PURE__*/ React.createElement(IconBlankCsvOutline, {
                size: iconSize,
                color: "inherit"
            });
        default:
            return /*#__PURE__*/ React.createElement(IconBlankOutline, {
                size: iconSize,
                color: "inherit"
            });
    }
};
