@anoki/fse-ui
Version:
FSE UI components library
40 lines (39 loc) • 1.15 kB
JavaScript
import { j as l } from "./index.es244.js";
import { clsx as n } from "./index.es246.js";
import { createColorClasses as p } from "./index.es274.js";
const c = ({
width: s = 24,
height: e = 24,
className: o,
color: a = "primary",
filled: t,
decorative: r = !1,
ariaLabel: i = "Favorite"
}) => {
const m = p({ color: a });
return /* @__PURE__ */ l.jsx(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: s,
height: e,
fill: "currentColor",
viewBox: "0 0 24 24",
className: n(o, m),
"aria-hidden": r,
"aria-label": r ? void 0 : i,
children: t ? /* @__PURE__ */ l.jsx("path", { d: "M12 1.7l2.5 7.5h7.9L16 13.9l2.4 7.6-6.4-4.7-6.4 4.7L8 13.9 1.6 9.2h7.9z" }) : /* @__PURE__ */ l.jsx(
"path",
{
fillRule: "evenodd",
d: "M9.5 9.2 12 1.7l2.5 7.5h7.9L16 13.9l2.4 7.6-6.4-4.7-6.4 4.7L8 13.9 1.6 9.2zm4 .3L12 4.9l-1.5 4.6-.2.7H4.6l4 2.9.6.4-.2.7-1.5 4.7 3.9-2.9.6-.4.6.4 3.9 2.9-1.5-4.7-.2-.7.6-.4 4-2.9h-5.7z",
clipRule: "evenodd"
}
)
}
);
};
export {
c as Favourite
};
//# sourceMappingURL=index.es185.js.map