@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.87 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconUsb = (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.6 1.5335C11.8 1.26683 12.2 1.26683 12.4 1.5335L14.4 4.20016C14.6472 4.52978 14.412 5.00016 14 5.00016H12.75V12.7866L17.1118 10.6057C17.1965 10.5634 17.25 10.4768 17.25 10.3821V9.00016H17C16.4477 9.00016 16 8.55245 16 8.00016V6.00016C16 5.44788 16.4477 5.00016 17 5.00016H19C19.5523 5.00016 20 5.44788 20 6.00016V8.00016C20 8.55245 19.5523 9.00016 19 9.00016H18.75V10.3821C18.75 11.045 18.3755 11.6509 17.7826 11.9474L12.75 14.4637V15.9851C12.7502 15.9955 12.7502 16.0059 12.75 16.0164V18.1455C13.483 18.4422 14 19.1608 14 20.0002C14 21.1047 13.1046 22.0002 12 22.0002C10.8954 22.0002 10 21.1047 10 20.0002C10 19.1608 10.517 18.4422 11.25 18.1455V16.4637L6.21738 13.9474C5.6245 13.6509 5.25 13.045 5.25 12.3821V10.8548C4.51704 10.5581 4 9.83951 4 9.00016C4 7.89559 4.89543 7.00016 6 7.00016C7.10457 7.00016 8 7.89559 8 9.00016C8 9.83951 7.48296 10.5581 6.75 10.8548V12.3821C6.75 12.4768 6.8035 12.5634 6.8882 12.6057L11.25 14.7866V14.0164C11.2498 14.006 11.2498 13.9955 11.25 13.9851V5.00016H10C9.58798 5.00016 9.35279 4.52978 9.6 4.20016L11.6 1.5335Z" }) }));
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.09277 2.06998C9.29218 1.7908 9.70782 1.7908 9.90723 2.06998L11.4355 4.20963C11.6716 4.54054 11.4349 4.99966 11.0283 4.99966H10V11.6335L13.25 9.75845C13.714 9.49056 13.9999 8.99441 14 8.45865V7.99966H13.5C13.2239 7.99966 13 7.77581 13 7.49966V5.49966C13.0002 5.22365 13.224 4.99966 13.5 4.99966H15.5C15.776 4.99966 15.9998 5.22365 16 5.49966V7.49966C16 7.77581 15.7761 7.99966 15.5 7.99966H15V8.45865C14.9999 9.35163 14.5233 10.1771 13.75 10.6237L10 12.7887V15.0866C10.5823 15.2926 10.9998 15.8469 11 16.4997C11 17.3281 10.3284 17.9997 9.5 17.9997C8.67157 17.9997 8 17.3281 8 16.4997C8.00016 15.8469 8.41771 15.2926 9 15.0866V13.7887L5.25 11.6237C4.52506 11.2051 4.06118 10.4537 4.00586 9.62564L4 9.45865V8.91275C3.41772 8.70666 3 8.15254 3 7.49966C3.00021 6.67141 3.6717 5.99966 4.5 5.99966C5.3283 5.99966 5.99979 6.67141 6 7.49966C6 8.15254 5.58228 8.70666 5 8.91275V9.45865L5.01367 9.65787C5.0749 10.1151 5.3441 10.5241 5.75 10.7585L9 12.6335V4.99966H7.97168C7.5651 4.99966 7.32838 4.54054 7.56445 4.20963L9.09277 2.06998Z" }) }));
}
};
IconUsb.iconName = "usb";
export default IconUsb;