adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
41 lines (40 loc) • 1.4 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgMultimediaPlayerSymbolic = (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.469 1C3.648 1 3 1.648 3 2.469V13.53c0 .822.648 1.47 1.469 1.47h7.062c.821 0 1.469-.648 1.469-1.469V2.47C13 1.648 12.352 1 11.531 1zM4 2h8v5H4zm4 6a3 3 0 110 6 3 3 0 010-6z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M9.5 11A1.5 1.5 0 018 12.5 1.5 1.5 0 016.5 11 1.5 1.5 0 018 9.5 1.5 1.5 0 019.5 11z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgMultimediaPlayerSymbolic);
var multimedia_player_symbolic_default = Memo;
export {
multimedia_player_symbolic_default as default
};