UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 3.13 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconCartRemove = (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: "M1 4.75C1 4.33579 1.33579 4 1.75 4H3.07595C3.78892 4 4.43061 4.43253 4.69811 5.09341L8.18941 13.719C8.38049 14.1911 8.83883 14.5 9.3481 14.5H15.6235C16.1419 14.5 16.6059 14.1807 16.7908 13.697L19.5495 6.48215C19.6974 6.09525 20.131 5.90153 20.5179 6.04946C20.9048 6.19739 21.0985 6.63096 20.9505 7.01785L18.1919 14.2327C17.7847 15.2977 16.7631 16 15.6235 16H9.3481C8.22772 16 7.21935 15.3203 6.79899 14.2818L3.30769 5.6562C3.26947 5.56179 3.1778 5.5 3.07595 5.5H1.75C1.33579 5.5 1 5.16421 1 4.75Z" }), _jsx("path", { d: "M8.5 17C9.32843 17 10 17.6716 10 18.5C10 19.3284 9.32843 20 8.5 20C7.67157 20 7 19.3284 7 18.5C7 17.6716 7.67157 17 8.5 17Z" }), _jsx("path", { d: "M18 18.5C18 17.6716 17.3284 17 16.5 17C15.6716 17 15 17.6716 15 18.5C15 19.3284 15.6716 20 16.5 20C17.3284 20 18 19.3284 18 18.5Z" }), _jsx("path", { d: "M15.25 7.75C15.6642 7.75 16 8.08579 16 8.5C16 8.91421 15.6642 9.25 15.25 9.25L9.75 9.25C9.33579 9.25 9 8.91421 9 8.5C9 8.08579 9.33579 7.75 9.75 7.75L15.25 7.75Z" })] })); 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: "M1 3.5C1 3.22386 1.22386 3 1.5 3H2.38395C3.26717 3 4.04582 3.57934 4.29961 4.4253L6.65822 12.2873C6.78511 12.7103 7.17444 13 7.61605 13H13.384C13.8256 13 14.2149 12.7103 14.3418 12.2873L16.4211 5.35633C16.5004 5.09183 16.7792 4.94174 17.0437 5.02109C17.3082 5.10044 17.4583 5.37918 17.3789 5.64367L15.2996 12.5747C15.0458 13.4207 14.2672 14 13.384 14H7.61605C6.73283 14 5.95418 13.4207 5.70039 12.5747L3.34178 4.71265C3.21489 4.28967 2.82556 4 2.38395 4H1.5C1.22386 4 1 3.77614 1 3.5Z" }), _jsx("path", { d: "M8 16C8 16.5523 7.55228 17 7 17C6.44772 17 6 16.5523 6 16C6 15.4477 6.44772 15 7 15C7.55228 15 8 15.4477 8 16Z" }), _jsx("path", { d: "M14 17C14.5523 17 15 16.5523 15 16C15 15.4477 14.5523 15 14 15C13.4477 15 13 15.4477 13 16C13 16.5523 13.4477 17 14 17Z" }), _jsx("path", { d: "M7.64645 10.3536C7.45118 10.1583 7.45118 9.84171 7.64645 9.64645L9.79289 7.5L7.64645 5.35355C7.45118 5.15829 7.45118 4.84171 7.64645 4.64645C7.84171 4.45118 8.15829 4.45118 8.35355 4.64645L10.5 6.79289L12.6464 4.64645C12.8417 4.45118 13.1583 4.45118 13.3536 4.64645C13.5488 4.84171 13.5488 5.15829 13.3536 5.35355L11.2071 7.5L13.3536 9.64645C13.5488 9.84171 13.5488 10.1583 13.3536 10.3536C13.1583 10.5488 12.8417 10.5488 12.6464 10.3536L10.5 8.20711L8.35355 10.3536C8.15829 10.5488 7.84171 10.5488 7.64645 10.3536Z" })] })); } }; IconCartRemove.iconName = "cart-remove"; export default IconCartRemove;