adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
51 lines (50 loc) • 1.52 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgViewListSymbolic = (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: "M8 4h6v2H8zm0 5.984h6v2H8z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M2.384 3h3.231A.38.38 0 016 3.379V6.62a.38.38 0 01-.385.38h-3.23A.38.38 0 012 6.621V3.38A.38.38 0 012.384 3zm0 6h3.231A.38.38 0 016 9.379V12.6a.38.38 0 01-.385.38h-3.23A.38.38 0 012 12.6V9.38A.38.38 0 012.384 9z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgViewListSymbolic);
var view_list_symbolic_default = Memo;
export {
view_list_symbolic_default as default
};