UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 2.65 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconTransition = (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", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 5C3 3.89543 3.89543 3 5 3H6.75C7.16421 3 7.5 3.33579 7.5 3.75C7.5 4.16421 7.16421 4.5 6.75 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H6.75C7.16421 19.5 7.5 19.8358 7.5 20.25C7.5 20.6642 7.16421 21 6.75 21H5C3.89543 21 3 20.1046 3 19V5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H11C10.7239 19.5 10.5 19.2761 10.5 19V5C10.5 4.72386 10.7239 4.5 11 4.5ZM19 3H11C9.89543 3 9 3.89543 9 5V19C9 20.1046 9.89543 21 11 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z" })] })); 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: "M7 3C8.10457 3 9 3.89543 9 5V8C9 8.27614 8.77614 8.5 8.5 8.5C8.22386 8.5 8 8.27614 8 8V5C8 4.44772 7.55228 4 7 4H5C4.44772 4 4 4.44772 4 5V15C4 15.5523 4.44772 16 5 16H7C7.55228 16 8 15.5523 8 15V12C8 11.7239 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.7239 9 12V15C9 16.1046 8.10457 17 7 17H5C3.89543 17 3 16.1046 3 15V5C3 3.89543 3.89543 3 5 3H7Z" }), _jsx("path", { d: "M15 3C16.1046 3 17 3.89543 17 5V15C17 16.1046 16.1046 17 15 17H13C11.8954 17 11 16.1046 11 15V14.5C11 14.2239 11.2239 14 11.5 14C11.7761 14 12 14.2239 12 14.5V15C12 15.5523 12.4477 16 13 16H15C15.5523 16 16 15.5523 16 15V5C16 4.44772 15.5523 4 15 4H13C12.4477 4 12 4.44772 12 5V5.5C12 5.77614 11.7761 6 11.5 6C11.2239 6 11 5.77614 11 5.5V5C11 3.89543 11.8954 3 13 3H15Z" }), _jsx("path", { d: "M11.1465 7.14648C11.3417 6.95122 11.6583 6.95122 11.8535 7.14648L14.3535 9.64648C14.5488 9.84175 14.5488 10.1583 14.3535 10.3535L11.8535 12.8535C11.6583 13.0488 11.3417 13.0488 11.1465 12.8535C10.9512 12.6583 10.9512 12.3417 11.1465 12.1465L12.793 10.5H6.5C6.22386 10.5 6 10.2761 6 10C6 9.72386 6.22386 9.5 6.5 9.5H12.793L11.1465 7.85352L11.082 7.77539C10.9539 7.58131 10.9756 7.31735 11.1465 7.14648Z" })] })); } }; IconTransition.iconName = "transition"; export default IconTransition;