@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.22 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconTagFilled = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M19 3h-6.172a2 2 0 0 0-1.414.586l-8 8a2 2 0 0 0 0 2.828l6.172 6.172a2 2 0 0 0 2.828 0l8-8A2 2 0 0 0 21 11.172V5a2 2 0 0 0-2-2m-2.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3", clipRule: "evenodd" }) }));
default:
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M16 2h-5.172a2 2 0 0 0-1.414.586l-7 7a2 2 0 0 0 0 2.828l5.172 5.172a2 2 0 0 0 2.828 0l7-7A2 2 0 0 0 18 9.172V4a2 2 0 0 0-2-2m-2 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2", clipRule: "evenodd" }) }));
}
};
IconTagFilled.iconName = "tag--filled";
export default IconTagFilled;