adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
41 lines (40 loc) • 1.28 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgMediaZipSymbolic = (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: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M3 1S1 1 1 3v11c0 .554.446 1 1 1h12c.554 0 1-.446 1-1V3s0-2-2-2h-1v2h1v10H3V3h1V1z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M5.5 1h5c.277 0 .5.223.5.5v3c0 .277-.223.5-.5.5h-5a.499.499 0 01-.5-.5v-3c0-.277.223-.5.5-.5z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgMediaZipSymbolic);
var media_zip_symbolic_default = Memo;
export {
media_zip_symbolic_default as default
};