adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
59 lines (58 loc) • 1.81 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgMediaFlashSymbolic = (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: "#bebebe",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M4.563 2C3.714 2 3 2.714 3 3.563v8.874C3 13.287 3.714 14 4.563 14h7.875c.848 0 1.562-.714 1.562-1.563V4.532L11.563 2zM5 4h6.125l.875.938V12H5z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "sans-serif",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
fontWeight: 400,
fontSize: "xx-small",
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M6.938 5A.938.938 0 006 5.938v2.03c0 .518.42.938.938.938H7V6h1v2.906h2.063c.517 0 .937-.42.937-.937V5.937A.938.938 0 0010.063 5H10v3.031H9V5z",
style: {
marker: "none"
},
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgMediaFlashSymbolic);
var media_flash_symbolic_default = Memo;
export {
media_flash_symbolic_default as default
};