adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
51 lines (50 loc) • 1.58 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgCameraSwitchSymbolic = (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",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M13.266 10.476l2.189-2.475H16v5.004h-.534zM7 7h5c.554 0 1 .446 1 1v5c0 .554-.446 1-1 1H7c-.554 0-1-.446-1-1V8c0-.554.446-1 1-1z",
style: {
marker: "none"
},
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M4 1.994c-.554 0-1 .446-1 1v5.008c0 .554.446 1 1 1h.998V8c0-1.05.952-2.007 2.002-2.002h3V2.994c0-.554-.446-1-1-1zm-4 1.01v5.005h.48l2.254-2.587L.611 3.003z",
style: {
marker: "none"
},
overflow: "visible",
opacity: 0.5
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgCameraSwitchSymbolic);
var camera_switch_symbolic_default = Memo;
export {
camera_switch_symbolic_default as default
};