UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

62 lines (61 loc) 2.06 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgColorSelectSymbolic = (passedProps, ...restArgs) => { const { colored, containerProps = {}, ...rest } = passedProps; if (colored && typeof colored === "string") { if (!containerProps.style) { containerProps.style = {}; } Object.assign(containerProps.style, { "--custom-icon-color": colored }); } const render = (props) => /* @__PURE__ */ React.createElement("span", { ...containerProps, className: cx("Icon", containerProps.className, { colored }) }, /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16.006 16", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M12.96.98a2 2 0 00-1.374.606L10 3.172 8.914 2.086a.5.5 0 00-.707 0L6.086 4.207a.5.5 0 000 .707l.646.647-5.586 5.585A.5.5 0 001 11.5v1.793l-.854.853a.5.5 0 000 .708l1 1a.5.5 0 00.707 0L2.707 15H4.5a.5.5 0 00.353-.146l5.586-5.586.647.646a.5.5 0 00.707 0l2.121-2.121a.5.5 0 000-.707L12.828 6l1.586-1.586c1.308-1.272.37-3.487-1.453-3.434zM7.94 6.768L9.231 8.06 6.292 11H3.708z", style: { lineHeight: "normal", fontVariantLigatures: "normal", fontVariantPosition: "normal", fontVariantCaps: "normal", fontVariantNumeric: "normal", fontVariantAlternates: "normal", fontFeatureSettings: "normal", textIndent: 0, textAlign: "start", textDecorationLine: "none", textDecorationStyle: "solid", textDecorationColor: "#000", textTransform: "none", textOrientation: "mixed", shapePadding: 0, isolation: "auto", mixBlendMode: "normal" }, color: "#000", fontWeight: 400, fontFamily: "sans-serif", overflow: "visible", fill: "#2e3436", fillRule: "evenodd" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgColorSelectSymbolic); var color_select_symbolic_default = Memo; export { color_select_symbolic_default as default };