zzz / frontend /src /components /extension-icon-map.constant.tsx
ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
414 Bytes
import { DiJavascript } from "react-icons/di";
import {
FaCss3,
FaHtml5,
FaList,
FaMarkdown,
FaNpm,
FaPython,
} from "react-icons/fa";
export const EXTENSION_ICON_MAP: Record<string, React.ReactNode> = {
js: <DiJavascript />,
ts: <DiJavascript />,
py: <FaPython />,
css: <FaCss3 />,
json: <FaList />,
npmignore: <FaNpm />,
html: <FaHtml5 />,
md: <FaMarkdown />,
};