@mantine/code-highlight
Version:
Code highlight with Mantine theme
40 lines (36 loc) • 1.66 kB
JavaScript
'use client';
'use strict';
var jsxRuntime = require('react/jsx-runtime');
function ExpandIcon({ expanded, style, ...others }) {
return /* @__PURE__ */ jsxRuntime.jsx(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
strokeWidth: "2",
stroke: "currentColor",
fill: "none",
strokeLinecap: "round",
strokeLinejoin: "round",
...others,
children: expanded ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 13v-8l-3 3m6 0l-3 -3" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 17l1 0" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 17l1 0" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 17l1 0" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 17l1 0" })
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
/* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 11v8l3 -3m-6 0l3 3" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 7l1 0" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 7l1 0" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 7l1 0" }),
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 7l1 0" })
] })
}
);
}
ExpandIcon.displayName = "@mantine/code-highlight/ExpandIcon";
exports.ExpandIcon = ExpandIcon;
//# sourceMappingURL=ExpandIcon.cjs.map