adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
38 lines (37 loc) • 1.27 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgThunderboltSymbolic = (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("path", {
d: "M7.852 6h3.693l-4.338 6.241 1.672.174-4.184 3.578 1.964-1.036c.318.038 1.01.064 1.337.064A7.005 7.005 0 0015 8.015c-.016-2.468-1.28-5.007-4.003-6.33l.16-1.676zM1 8.015a6.99 6.99 0 003.581 6.114l.319-3.72 1.01 1.206L7.715 8H4l3.16-6.934A6.999 6.999 0 001 8.016",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgThunderboltSymbolic);
var thunderbolt_symbolic_default = Memo;
export {
thunderbolt_symbolic_default as default
};