UNPKG

@mantine/code-highlight

Version:

Code highlight with Mantine theme

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