@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.67 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconStarFilled = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { d: "M11.1033 2.56134C11.4701 1.8181 12.53 1.81809 12.8968 2.56134L15.3159 7.46308L20.7253 8.24911C21.5455 8.36829 21.8731 9.37627 21.2795 9.9548L17.3653 13.7703L18.2893 19.1578C18.4294 19.9747 17.572 20.5977 16.8384 20.212L12.0001 17.6683L7.16175 20.212C6.42812 20.5977 5.57069 19.9747 5.7108 19.1578L6.63483 13.7703L2.72056 9.9548C2.12704 9.37627 2.45455 8.36829 3.27477 8.24911L8.68416 7.46308L11.1033 2.56134Z" }) }));
default:
return (_jsx("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { d: "M9.21494 2.37456C9.63928 1.83122 10.5027 1.86987 10.8644 2.49077L12.9073 5.99858L16.8751 6.85796C17.5774 7.01003 17.8818 7.81969 17.4962 8.39116L17.4093 8.50151L14.7042 11.5289L15.1134 15.5679C15.1903 16.3302 14.4162 16.8935 13.7149 16.5845L10.0001 14.9468L6.28525 16.5845C5.58416 16.8931 4.80999 16.3301 4.88682 15.5679L5.296 11.5289L2.59092 8.50151C2.08037 7.93009 2.3763 7.02036 3.1251 6.85796L7.09287 5.99858L9.13584 2.49077L9.21494 2.37456Z" }) }));
}
};
IconStarFilled.iconName = "star--filled";
export default IconStarFilled;