UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

86 lines (85 loc) 2.65 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgMediaOpticalSymbolic = (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("g", { color: "#bebebe", fontWeight: 400, fontFamily: "sans-serif", fill: "#474747" }, /* @__PURE__ */ React.createElement("path", { d: "M8 1C4.157 1 1 4.158 1 8s3.157 7 7 7c3.842 0 7-3.158 7-7s-3.158-7-7-7zm0 4c1.68 0 3 1.32 3 3s-1.32 3-3 3-3-1.32-3-3 1.32-3 3-3z", 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", marker: "none" }, overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M8 6c-1.1 0-2 .901-2 2s.901 2 2 2c1.098 0 2-.901 2-2s-.902-2-2-2zm0 1c.558 0 1 .442 1 1s-.442 1-1 1-1-.442-1-1 .442-1 1-1z", 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", marker: "none" }, overflow: "visible" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgMediaOpticalSymbolic); var media_optical_symbolic_default = Memo; export { media_optical_symbolic_default as default };