adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
59 lines (58 loc) • 2.1 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgRotationLockedSymbolic = (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.063",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M6.241.016c-.51 0-1.02.192-1.406.578l-4.25 4.25a2.004 2.004 0 000 2.812l7.75 7.844c.386.388.892.563 1.406.563a1.964 1.964 0 001.406-.563l4.25-4.25c.106-.106.194-.223.27-.346-.181.057-.37.096-.57.096h-2.27l-3.086 3.063L2.022 6.28c-.015-.015-.043-.019-.03-.03L6.241 2l.76.833v-.928A1.9 1.9 0 017.58.538 1.982 1.982 0 006.24.015z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
color: "#000",
fontWeight: 400,
fontFamily: "Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M11.003 0s-.709-.014-1.447.356C8.817.725 8.003 1.666 8.003 3v1h-1v6h8V4h-1V3c0-1.333-.814-2.275-1.553-2.644C11.712-.014 11.003 0 11.003 0zm0 2s.291.014.553.145c.261.13.447.188.447.855v1h-2V3c0-.667.186-.725.447-.855.262-.131.553-.145.553-.145z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgRotationLockedSymbolic);
var rotation_locked_symbolic_default = Memo;
export {
rotation_locked_symbolic_default as default
};