UNPKG

@mantine/code-highlight

Version:

Code highlight with Mantine theme

20 lines (19 loc) 524 B
"use client"; import { jsx } from "react/jsx-runtime"; //#region packages/@mantine/code-highlight/src/CodeHighlightTabs/FileIcon.tsx function FileIcon({ fileIcon, fileName, getFileIcon, className, style }) { if (fileIcon) return /* @__PURE__ */ jsx("span", { className, style, children: fileIcon }); if (getFileIcon && fileName) return /* @__PURE__ */ jsx("span", { className, style, children: getFileIcon(fileName) }); return null; } //#endregion export { FileIcon }; //# sourceMappingURL=FileIcon.mjs.map