adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
54 lines (53 loc) • 1.74 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgPdaSymbolic = (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", {
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M4.183 0C2.385 0 1.03 1.338 1.03 3v10c0 1.662 1.354 3 3.152 3h7.572C13.553 16 15 14.662 15 13V6.41l-1.976 2.878V13c0 .554-.482 1-1.082 1H4.026c-.599 0-1.019-.446-1.019-1V3c0-.554.42-1 1.02-1h7.66L13.006.25A3.577 3.577 0 0011.755 0z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M14.04 1.031S11.521 4.537 10 7L8.594 8.167l.038 1.574-.764 1.245h.696l.74-.584 1.675-.462.595-1.481 4.185-6.365z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
color: "#000",
fontWeight: 400,
fontFamily: "Sans",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgPdaSymbolic);
var pda_symbolic_default = Memo;
export {
pda_symbolic_default as default
};