(file)
| 115 | } |
| 116 | |
| 117 | const getFileIcon = (file) => { |
| 118 | const ext = file.name?.split('.').pop()?.toLowerCase() |
| 119 | if (ext === 'pdf') return '📄' |
| 120 | if (ext === 'md' || ext === 'markdown') return '📝' |
| 121 | if (['doc', 'docx'].includes(ext)) return '📃' |
| 122 | return '📎' |
| 123 | } |
| 124 | |
| 125 | const getFileTypeName = (file) => { |
| 126 | const ext = file.name?.split('.').pop()?.toLowerCase() |
nothing calls this directly
no outgoing calls
no test coverage detected