UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

38 lines (37 loc) 1.39 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgPreferencesSystemPrivacySymbolic = (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 16", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M8 0c.554 0 1 .446 1 1v6.5s0 .5.5.5.5-.5.5-.5V3c0-.554.446-1 1-1s1 .446 1 1v8.5c0 .5.5.5.5.5l1.793-1.707a1 1 0 01.717-.303c1.085.086 1.148 1.266.697 1.717l-3 3C12 15.5 10.95 15.995 10 16H4c-3 0-3-3-3-3V5c0-.554.446-1 1-1s1 .446 1 1v3.5s0 .5.5.5.5-.5.5-.5V2c0-.554.446-1 1-1s1 .446 1 1v5.5s0 .5.5.5.5-.5.5-.5V1c0-.554.446-1 1-1z", fill: "#2e3436" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgPreferencesSystemPrivacySymbolic); var preferences_system_privacy_symbolic_default = Memo; export { preferences_system_privacy_symbolic_default as default };