import type { FC } from 'react'
import {
Csv,
Doc,
Docx,
Html,
Json,
Md,
Pdf,
Txt,
Unknown,
Xlsx,
} from '@/app/components/base/icons/src/public/files'
import { Notion } from '@/app/components/base/icons/src/public/common'
type FileIconProps = {
type: string
className?: string
}
const FileIcon: FC = ({
type,
className,
}) => {
switch (type) {
case 'csv':
return
case 'doc':
return
case 'docx':
return
case 'htm':
case 'html':
return
case 'json':
return
case 'md':
case 'markdown':
return
case 'pdf':
return
case 'txt':
return
case 'xls':
case 'xlsx':
return
case 'notion':
return
default:
return
}
}
export default FileIcon