UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

66 lines (65 loc) 2.38 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgInsertLinkSymbolic = (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 15.982", ...props }, /* @__PURE__ */ React.createElement("g", { fontWeight: 400, fill: "#474747" }, /* @__PURE__ */ React.createElement("path", { d: "M11.001 11.986h-1a1.21 1.21 0 00-.719.261l-1.281 1.07-1.281-1.07a1.202 1.202 0 00-.72-.26H5v.835c0 .258.09.461.282.626l2.741 2.534 2.697-2.534a.78.78 0 00.281-.626v-.836z", style: { lineHeight: "normal", InkscapeFontSpecification: "'Bitstream Vera Sans'", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#bebebe", fontFamily: "Bitstream Vera Sans", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M9.804 4.04a.936 1.01 0 00.185 1.997h4.937a.936 1.01 0 100-1.997H9.989a.936 1.01 0 00-.185 0zm-8.991 0c-.45.102-.789.599-.743 1.088.046.49.47.904.93.91h4.916c.535.085 1.084-.42 1.084-1 0-.578-.549-1.084-1.084-.998H1a.834.834 0 00-.187 0zM6.059.964a2.492 2.492 0 00-1.907 1.468 2.686 2.686 0 00-.156.532H12c-.026-.126-.054-.263-.094-.375A2.467 2.467 0 009.563.964h-3.13c-.126 0-.252-.019-.374 0zm-2.063 6c.236 1.132 1.24 2 2.438 2h3.129c1.197 0 2.202-.868 2.437-2z", style: { lineHeight: "normal", InkscapeFontSpecification: "Sans", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#000", fontFamily: "Sans", overflow: "visible" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgInsertLinkSymbolic); var insert_link_symbolic_default = Memo; export { insert_link_symbolic_default as default };