UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

17 lines (16 loc) 3.48 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconGameFilled = (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", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.61684 5C4.67377 5 3.85884 5.6588 3.66124 6.58094L1.74609 15.5183C1.3621 17.3102 2.72813 19 4.56074 19C5.46678 19 6.31995 18.5734 6.86358 17.8486L9.00001 15H15L17.1364 17.8486C17.6801 18.5734 18.5332 19 19.4393 19C21.2719 19 22.6379 17.3102 22.2539 15.5183L20.3388 6.58094C20.1412 5.6588 19.3263 5 18.3832 5H5.61684ZM8.75001 8.5C8.75001 8.08579 8.41423 7.75 8.00001 7.75C7.5858 7.75 7.25001 8.08579 7.25001 8.5V9.25H6.50001C6.0858 9.25 5.75001 9.58579 5.75001 10C5.75001 10.4142 6.0858 10.75 6.50001 10.75H7.25001V11.5C7.25001 11.9142 7.5858 12.25 8.00001 12.25C8.41423 12.25 8.75001 11.9142 8.75001 11.5V10.75H9.50001C9.91423 10.75 10.25 10.4142 10.25 10C10.25 9.58579 9.91423 9.25 9.50001 9.25H8.75001V8.5ZM16.0001 11.5C16.8285 11.5 17.5001 10.8284 17.5001 10C17.5001 9.17157 16.8285 8.5 16.0001 8.5C15.1716 8.5 14.5001 9.17157 14.5001 10C14.5001 10.8284 15.1716 11.5 16.0001 11.5Z" }) })); case "s": return (_jsx("svg", { viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.2937 10.47L11.8766 13.0026C12.2644 13.6231 12.9445 14 13.6762 14C14.9241 14 15.904 12.9217 15.7875 11.6793C14.9602 2.85494 14.4724 2 8 2C1.5276 2 1.03977 2.85494 0.212498 11.6793C0.0960222 12.9217 1.07593 14 2.32381 14C3.0555 14 3.73558 13.6231 4.12338 13.0026L5.70625 10.47C5.88899 10.1776 6.20946 10 6.55425 10H9.44575C9.79054 10 10.111 10.1776 10.2937 10.47ZM5 7C5.55228 7 6 6.55228 6 6C6 5.44772 5.55228 5 5 5C4.44772 5 4 5.44772 4 6C4 6.55228 4.44772 7 5 7ZM12 6C12 6.55228 11.5523 7 11 7C10.4477 7 10 6.55228 10 6C10 5.44772 10.4477 5 11 5C11.5523 5 12 5.44772 12 6Z" }) })); default: return (_jsxs("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: "M8 8C8 8.55229 7.55229 9 7 9C6.44772 9 6 8.55229 6 8C6 7.44771 6.44772 7 7 7C7.55229 7 8 7.44771 8 8Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.2784 15.8454L12.7938 13.47C12.611 13.1776 12.2905 13 11.9458 13H8.05425C7.70946 13 7.38899 13.1776 7.20625 13.47L5.72165 15.8454C5.27272 16.5636 4.48543 17 3.6384 17C2.21269 17 1.08351 15.7853 1.20328 14.3647C2.16137 3 3.47009 3 10 3C16.5299 3 17.8386 3 18.7967 14.3647C18.9165 15.7853 17.7873 17 16.3616 17C15.5146 17 14.7273 16.5636 14.2784 15.8454ZM9 8C9 9.10457 8.10457 10 7 10C5.89543 10 5 9.10457 5 8C5 6.89543 5.89543 6 7 6C8.10457 6 9 6.89543 9 8ZM12 8C12.5523 8 13 7.55228 13 7C13 6.44772 12.5523 6 12 6C11.4477 6 11 6.44772 11 7C11 7.55228 11.4477 8 12 8ZM15 9C15 9.55228 14.5523 10 14 10C13.4477 10 13 9.55228 13 9C13 8.44772 13.4477 8 14 8C14.5523 8 15 8.44772 15 9Z" })] })); } }; IconGameFilled.iconName = "game--filled"; export default IconGameFilled;