UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 6.01 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconDiscount = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; switch (props?.size) { case "l": return (_jsxs("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: "M15.7803 9.28033C16.0732 8.98744 16.0732 8.51256 15.7803 8.21967C15.4874 7.92678 15.0126 7.92678 14.7197 8.21967L8.21967 14.7197C7.92678 15.0126 7.92678 15.4874 8.21967 15.7803C8.51256 16.0732 8.98744 16.0732 9.28033 15.7803L15.7803 9.28033Z" }), _jsx("path", { d: "M11 9.5C11 10.3284 10.3284 11 9.5 11C8.67157 11 8 10.3284 8 9.5C8 8.67157 8.67157 8 9.5 8C10.3284 8 11 8.67157 11 9.5Z" }), _jsx("path", { d: "M14.5 16C15.3284 16 16 15.3284 16 14.5C16 13.6716 15.3284 13 14.5 13C13.6716 13 13 13.6716 13 14.5C13 15.3284 13.6716 16 14.5 16Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.4101 2.58171C12.63 1.8061 11.3699 1.8061 10.5898 2.58171L9.40811 3.75663C9.03479 4.1278 8.53019 4.33681 8.00376 4.33833L6.33736 4.34314C5.2373 4.34632 4.34632 5.2373 4.34314 6.33736L4.33833 8.00376C4.33681 8.53019 4.1278 9.03479 3.75663 9.40811L2.58171 10.5898C1.8061 11.3699 1.8061 12.63 2.58171 13.4101L3.75663 14.5918C4.1278 14.9651 4.33681 15.4697 4.33833 15.9962L4.34314 17.6626C4.34632 18.7626 5.2373 19.6536 6.33736 19.6568L8.00376 19.6616C8.53019 19.6631 9.03479 19.8721 9.40811 20.2433L10.5898 21.4182C11.3699 22.1938 12.63 22.1938 13.4101 21.4182L14.5918 20.2433C14.9651 19.8721 15.4697 19.6631 15.9962 19.6616L17.6626 19.6568C18.7626 19.6536 19.6536 18.7626 19.6568 17.6626L19.6616 15.9962C19.6631 15.4697 19.8721 14.9651 20.2433 14.5918L21.4182 13.4101C22.1938 12.63 22.1938 11.3699 21.4182 10.5898L20.2433 9.40811C19.8721 9.03479 19.6631 8.53019 19.6616 8.00376L19.6568 6.33736C19.6536 5.2373 18.7626 4.34632 17.6626 4.34314L15.9962 4.33833C15.4697 4.33681 14.9651 4.1278 14.5918 3.75663L13.4101 2.58171ZM13.5342 4.82035L12.3525 3.64543C12.1575 3.45152 11.8425 3.45152 11.6474 3.64543L10.4657 4.82035C9.8124 5.46989 8.92934 5.83566 8.00809 5.83832L6.34169 5.84314C6.06667 5.84393 5.84393 6.06668 5.84314 6.34169L5.83832 8.00809C5.83566 8.92934 5.46989 9.8124 4.82035 10.4657L3.64543 11.6474C3.45152 11.8425 3.45152 12.1575 3.64543 12.3525L4.82035 13.5342C5.46989 14.1875 5.83566 15.0706 5.83832 15.9918L5.84314 17.6582C5.84393 17.9332 6.06668 18.156 6.34169 18.1568L8.00809 18.1616C8.92934 18.1643 9.8124 18.53 10.4657 19.1796L11.6474 20.3545C11.8425 20.5484 12.1575 20.5484 12.3525 20.3545L13.5342 19.1796C14.1875 18.53 15.0706 18.1643 15.9918 18.1616L17.6582 18.1568C17.9332 18.156 18.156 17.9332 18.1568 17.6582L18.1616 15.9918C18.1643 15.0706 18.53 14.1875 19.1796 13.5342L20.3545 12.3525C20.5484 12.1575 20.5484 11.8425 20.3545 11.6474L19.1796 10.4657C18.53 9.8124 18.1643 8.92934 18.1616 8.00809L18.1568 6.34169C18.156 6.06667 17.9332 5.84393 17.6582 5.84314L15.9918 5.83832C15.0706 5.83566 14.1875 5.46989 13.5342 4.82035Z" })] })); 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: "M12.8535 7.85356C13.0488 7.65829 13.0488 7.34171 12.8535 7.14645C12.6582 6.95119 12.3417 6.95119 12.1464 7.14645L7.14639 12.1464C6.95113 12.3417 6.95113 12.6583 7.14639 12.8536C7.34165 13.0488 7.65823 13.0488 7.8535 12.8536L12.8535 7.85356Z" }), _jsx("path", { d: "M8.99994 8C8.99994 8.55229 8.55223 9 7.99994 9C7.44766 9 6.99994 8.55229 6.99994 8C6.99994 7.44772 7.44766 7 7.99994 7C8.55223 7 8.99994 7.44772 8.99994 8Z" }), _jsx("path", { d: "M11.9999 13C12.5522 13 12.9999 12.5523 12.9999 12C12.9999 11.4477 12.5522 11 11.9999 11C11.4477 11 10.9999 11.4477 10.9999 12C10.9999 12.5523 11.4477 13 11.9999 13Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.99994 6.68635C3.99994 7.21678 3.78923 7.72549 3.41416 8.10056L2.92893 8.58579C2.14788 9.36684 2.14788 10.6332 2.92893 11.4142L3.41416 11.8995C3.78923 12.2745 3.99994 12.7832 3.99994 13.3137V14C3.99994 15.1046 4.89537 16 5.99994 16H6.68629C7.21672 16 7.72543 16.2107 8.1005 16.5858L8.58578 17.0711C9.36683 17.8521 10.6332 17.8521 11.4142 17.0711L11.8995 16.5858C12.2746 16.2107 12.7833 16 13.3137 16H13.9999C15.1045 16 15.9999 15.1046 15.9999 14V13.3138C15.9999 12.7833 16.2107 12.2746 16.5857 11.8996L17.0711 11.4142C17.8521 10.6332 17.8521 9.36684 17.0711 8.58579L16.5857 8.10046C16.2107 7.72539 15.9999 7.21668 15.9999 6.68625V6.00001C15.9999 4.89544 15.1045 4.00001 13.9999 4.00001H13.3137C12.7833 4.00001 12.2746 3.78929 11.8995 3.41422L11.4142 2.92894C10.6332 2.14789 9.36683 2.14789 8.58578 2.92894L8.1005 3.41422C7.72543 3.78929 7.21672 4.00001 6.68629 4.00001H5.99994C4.89537 4.00001 3.99994 4.89544 3.99994 6.00001V6.68635ZM3.63603 9.2929L4.12126 8.80767C4.68387 8.24506 4.99994 7.482 4.99994 6.68635V6.00001C4.99994 5.44772 5.44766 5.00001 5.99994 5.00001H6.68629C7.48194 5.00001 8.245 4.68394 8.80761 4.12133L9.29289 3.63605C9.68341 3.24552 10.3166 3.24552 10.7071 3.63605L11.1924 4.12133C11.755 4.68394 12.5181 5.00001 13.3137 5.00001H13.9999C14.5522 5.00001 14.9999 5.44773 14.9999 6.00001V6.68625C14.9999 7.4819 15.316 8.24496 15.8786 8.80757L16.364 9.2929C16.7545 9.68343 16.7545 10.3166 16.364 10.7071L15.8786 11.1924C15.316 11.7551 14.9999 12.5181 14.9999 13.3138V14C14.9999 14.5523 14.5522 15 13.9999 15H13.3137C12.5181 15 11.755 15.3161 11.1924 15.8787L10.7071 16.364C10.3166 16.7545 9.68341 16.7545 9.29289 16.364L8.80761 15.8787C8.245 15.3161 7.48194 15 6.68629 15H5.99994C5.44766 15 4.99994 14.5523 4.99994 14V13.3137C4.99994 12.518 4.68387 11.755 4.12126 11.1923L3.63603 10.7071C3.24551 10.3166 3.24551 9.68343 3.63603 9.2929Z" })] })); } }; IconDiscount.iconName = "discount"; export default IconDiscount;