({ language }: FileIconProps)
| 9 | } |
| 10 | |
| 11 | export const FileIcon = ({ language }: FileIconProps) => { |
| 12 | const iconifyName = languageMetadataMap[language]?.iconify; |
| 13 | |
| 14 | if (iconifyName) { |
| 15 | return ( |
| 16 | <Icon icon={iconifyName} className="w-4 h-4 flex-shrink-0" /> |
| 17 | ) |
| 18 | } else { |
| 19 | return ( |
| 20 | <QuestionMarkCircledIcon className="w-4 h-4 flex-shrink-0" /> |
| 21 | ) |
| 22 | } |
| 23 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected