adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
93 lines (92 loc) • 3.1 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgViewMirrorSymbolic = (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: "M2 0C1.139 0 .57.321.287.7.004 1.076 0 1.5 0 1.5v13s.004.423.287.8c.284.379.852.7 1.713.7a.5.5 0 00.307-.104l5.5-4.25A.5.5 0 008 11.25V4.5a.5.5 0 00-.205-.404l-5.5-4A.5.5 0 002 0zm-.113 1.037L7 4.756v6.248L1.879 14.96c-.455-.037-.712-.156-.791-.262C.996 14.577 1 14.5 1 14.5v-13s-.004-.077.088-.2c.08-.106.333-.227.799-.263z",
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: "#474747",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M1 1h1v14H1z",
fill: "#474747"
}), /* @__PURE__ */ React.createElement("path", {
d: "M14 0a.5.5 0 00-.295.096l-5.5 4A.5.5 0 008 4.5v6.75a.5.5 0 00.193.396l5.5 4.25A.5.5 0 0014 16c.861 0 1.43-.321 1.713-.7.283-.377.287-.8.287-.8v-13s-.004-.423-.287-.8C15.429.32 14.86 0 14 0zm0 1.12v13.747l-5-3.863V4.756z",
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",
opacity: 0.5,
fill: "#474747",
fillRule: "evenodd"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgViewMirrorSymbolic);
var view_mirror_symbolic_default = Memo;
export {
view_mirror_symbolic_default as default
};