adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
65 lines (64 loc) • 2.84 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgStarredSymbolic = (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.974.126c-.43.009-.78.213-1.004.412-.224.199-.368.408-.497.624-.257.43-.441.9-.62 1.368-.18.468-.347.93-.497 1.27-.084.19-.063.163-.112.236l-3.398-.01a1.014 1.014 0 00-.977.698c-.232.743.098 1.226.368 1.646.27.42.611.815.954 1.199.343.383.688.752.948 1.056.26.304.421.607.391.518-.081-.244-.015.043-.116.392-.1.349-.27.807-.432 1.275-.163.469-.323.942-.4 1.427a2.255 2.255 0 00-.008.788c.052.296.226.69.591.935.36.241.772.27 1.074.234.303-.036.547-.124.786-.225.478-.204.929-.483 1.373-.764.444-.281.876-.565 1.217-.76.34-.194.665-.235.443-.235-.25 0 .072.036.403.232.331.197.751.484 1.183.768.432.284.868.566 1.335.773.233.104.475.195.78.231.305.037.735 0 1.091-.262a.982.982 0 00.117-.1c.513-.514.556-1.215.473-1.73-.082-.514-.266-.974-.442-1.414-.176-.441-.348-.86-.442-1.185-.093-.324-.073-.53-.076-.522-.054.16.086-.109.358-.372.275-.266.652-.594 1.026-.952.375-.357.751-.737 1.047-1.194.296-.458.56-1.1.31-1.79a1.016 1.016 0 00-.96-.66h-3.595c-.02-.032-.02-.024-.043-.067-.142-.277-.318-.747-.497-1.237-.179-.491-.36-1.003-.6-1.463-.12-.23-.25-.452-.464-.673-.215-.22-.593-.48-1.088-.47z",
style: {
lineHeight: "normal",
fontVariantLigatures: "normal",
fontVariantPosition: "normal",
fontVariantCaps: "normal",
fontVariantNumeric: "normal",
fontVariantAlternates: "normal",
fontFeatureSettings: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
textOrientation: "mixed",
whiteSpace: "normal",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal",
solidColor: "#000",
solidOpacity: 1,
marker: "none"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fill: "#2e3436"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgStarredSymbolic);
var starred_symbolic_default = Memo;
export {
starred_symbolic_default as default
};