UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 2.12 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconArrowVertical = (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: "M18.7803 8.78033C18.4874 9.07322 18.0126 9.07322 17.7197 8.78033L12.75 3.81066L12.75 20.1893L17.7197 15.2197C18.0126 14.9268 18.4874 14.9268 18.7803 15.2197C19.0732 15.5126 19.0732 15.9874 18.7803 16.2803L12.5303 22.5303C12.2374 22.8232 11.7626 22.8232 11.4697 22.5303L5.21967 16.2803C4.92678 15.9874 4.92678 15.5126 5.21967 15.2197C5.51256 14.9268 5.98744 14.9268 6.28033 15.2197L11.25 20.1893L11.25 3.81066L6.28033 8.78033C5.98744 9.07322 5.51256 9.07322 5.21967 8.78033C4.92678 8.48744 4.92678 8.01256 5.21967 7.71967L11.4697 1.46967C11.7626 1.17678 12.2374 1.17678 12.5303 1.46967L18.7803 7.71967C19.0732 8.01256 19.0732 8.48744 18.7803 8.78033Z" }) })); 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: "M14.8536 12.6465C15.0488 12.8418 15.0488 13.1583 14.8536 13.3535L10.3536 17.8535C10.1583 18.0488 9.84178 18.0488 9.64652 17.8535L5.14652 13.3535C4.95126 13.1583 4.95126 12.8418 5.14652 12.6465C5.34178 12.4512 5.65829 12.4512 5.85355 12.6465L9.50004 16.293L9.50004 3.70705L5.85355 7.35354C5.65829 7.5488 5.34179 7.5488 5.14652 7.35354C4.95126 7.15828 4.95126 6.84177 5.14652 6.64651L9.64652 2.14651C9.84178 1.95125 10.1583 1.95125 10.3536 2.14651L14.8536 6.64651C15.0488 6.84177 15.0488 7.15828 14.8536 7.35354C14.6583 7.5488 14.3418 7.5488 14.1465 7.35354L10.5 3.70705L10.5 16.293L14.1465 12.6465C14.3418 12.4512 14.6583 12.4512 14.8536 12.6465Z" }) })); } }; IconArrowVertical.iconName = "arrow-vertical"; export default IconArrowVertical;