UNPKG

@mantine/code-highlight

Version:

Code highlight with Mantine theme

43 lines (42 loc) 1.47 kB
"use client"; import { Fragment, jsx, jsxs } from "react/jsx-runtime"; //#region packages/@mantine/code-highlight/src/CodeHighlight/ExpandCodeButton/ExpandIcon.tsx function ExpandIcon({ expanded, style, ...others }) { return /* @__PURE__ */ 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__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), /* @__PURE__ */ jsx("path", { d: "M12 13v-8l-3 3m6 0l-3 -3" }), /* @__PURE__ */ jsx("path", { d: "M9 17l1 0" }), /* @__PURE__ */ jsx("path", { d: "M14 17l1 0" }), /* @__PURE__ */ jsx("path", { d: "M19 17l1 0" }), /* @__PURE__ */ jsx("path", { d: "M4 17l1 0" }) ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), /* @__PURE__ */ jsx("path", { d: "M12 11v8l3 -3m-6 0l3 3" }), /* @__PURE__ */ jsx("path", { d: "M9 7l1 0" }), /* @__PURE__ */ jsx("path", { d: "M14 7l1 0" }), /* @__PURE__ */ jsx("path", { d: "M19 7l1 0" }), /* @__PURE__ */ jsx("path", { d: "M4 7l1 0" }) ] }) }); } ExpandIcon.displayName = "@mantine/code-highlight/ExpandIcon"; //#endregion export { ExpandIcon }; //# sourceMappingURL=ExpandIcon.mjs.map