UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

72 lines (71 loc) 2.15 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgMediaEjectSymbolic = (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: "#000", fill: "#2e3436" }, /* @__PURE__ */ React.createElement("path", { d: "M7.987 3a1 1 0 00-.692.293l-4 4A1 1 0 004.002 9h8a1 1 0 00.707-1.707l-4-4A1 1 0 007.987 3zm.015 2.414L9.588 7H6.416zm-5 5.584l-.004 2 1 .002 8 .014 1 .002.004-2-1-.002-8-.014z", 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", whiteSpace: "normal", shapePadding: 0, isolation: "auto", mixBlendMode: "normal", solidColor: "#000", solidOpacity: 1, marker: "none" }, fontWeight: 400, fontFamily: "sans-serif", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M12 8v1h1V8zM3.002 8v1h1V8zm1 0l4-4 4 4z", style: { marker: "none" }, overflow: "visible" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgMediaEjectSymbolic); var media_eject_symbolic_default = Memo; export { media_eject_symbolic_default as default };