UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 2.13 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconArrowHorizontal = (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: "M8.78033 5.21967C9.07322 5.51256 9.07322 5.98744 8.78033 6.28033L3.81066 11.25H20.1893L15.2197 6.28033C14.9268 5.98744 14.9268 5.51256 15.2197 5.21967C15.5126 4.92678 15.9874 4.92678 16.2803 5.21967L22.5303 11.4697C22.8232 11.7626 22.8232 12.2374 22.5303 12.5303L16.2803 18.7803C15.9874 19.0732 15.5126 19.0732 15.2197 18.7803C14.9268 18.4874 14.9268 18.0126 15.2197 17.7197L20.1893 12.75H3.81066L8.78033 17.7197C9.07322 18.0126 9.07322 18.4874 8.78033 18.7803C8.48744 19.0732 8.01256 19.0732 7.71967 18.7803L1.46967 12.5303C1.17678 12.2374 1.17678 11.7626 1.46967 11.4697L7.71967 5.21967C8.01256 4.92678 8.48744 4.92678 8.78033 5.21967Z" }) })); 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: "M12.6464 5.14651C12.8417 4.95125 13.1582 4.95125 13.3535 5.14651L17.8535 9.64651C18.0487 9.84177 18.0487 10.1583 17.8535 10.3535L13.3535 14.8535C13.1582 15.0488 12.8417 15.0488 12.6464 14.8535C12.4512 14.6583 12.4512 14.3418 12.6464 14.1465L16.2929 10.5L3.70699 10.5L7.35348 14.1465C7.54874 14.3418 7.54874 14.6583 7.35348 14.8535C7.15822 15.0488 6.84171 15.0488 6.64645 14.8535L2.14645 10.3535C1.95118 10.1583 1.95118 9.84177 2.14645 9.64651L6.64645 5.14651C6.84171 4.95125 7.15822 4.95125 7.35348 5.14651C7.54874 5.34177 7.54874 5.65828 7.35348 5.85354L3.70699 9.50002L16.2929 9.50002L12.6464 5.85354C12.4512 5.65828 12.4512 5.34177 12.6464 5.14651Z" }) })); } }; IconArrowHorizontal.iconName = "arrow-horizontal"; export default IconArrowHorizontal;