import { FileIconMap } from '@/constants/file'; import { cn } from '@/lib/utils'; import { getExtension } from '@/utils/document-util'; import { CSSProperties } from 'react'; type IconFontType = { name: string; className?: string; style?: CSSProperties; }; export const IconFont = ({ name, className, style }: IconFontType) => ( ); export function IconFontFill({ name, className, isFill = true, }: IconFontType & { isFill?: boolean }) { return ( ); } export function FileIcon({ name, className, type, }: IconFontType & { type?: string }) { const isFolder = type === 'folder'; return ( ); }