adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
86 lines (85 loc) • 3.12 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgImageXGenericSymbolic = (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",
fontWeight: 400,
fontFamily: "sans-serif",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M1.032 1.032V15H15V1.03zm2 2H13V13H3.03z",
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: "M9.536 8.3c-.467-.065-1.046-.105-1.532.275-.403.315-.777.713-1.105 1.017-.328.305-.652.44-.586.44H2.47v1h3.844c.582 0 .9-.368 1.264-.705.364-.337.731-.721 1.043-.965.106-.083.406-.124.779-.072.373.051.707.18 1.102.18.146 0 .215.034.324.126.108.092.23.254.365.448.135.193.28.417.498.62.218.204.546.383.922.383h.86v-1h-.86c-.1 0-.14-.02-.238-.113-.099-.092-.22-.26-.36-.46-.14-.202-.3-.436-.539-.64a1.517 1.517 0 00-.972-.365c-.033 0-.499-.105-.965-.17zM5.454 3.885c-.86 0-1.569.708-1.569 1.569 0 .86.708 1.568 1.569 1.568.86 0 1.568-.708 1.568-1.568 0-.86-.708-1.569-1.568-1.569zm0 1c.32 0 .568.249.568.569a.56.56 0 01-.568.568.561.561 0 01-.569-.568c0-.32.249-.569.569-.569z",
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(SvgImageXGenericSymbolic);
var image_x_generic_symbolic_default = Memo;
export {
image_x_generic_symbolic_default as default
};