@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.25 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconDrag = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { d: "M10 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M8.5 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M8.5 20a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M15.5 20a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M17 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M15.5 7a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3" }) }));
default:
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { d: "M7 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2M7 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0M13 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2M14 10a1 1 0 1 1-2 0 1 1 0 0 1 2 0M13 16a1 1 0 1 0 0-2 1 1 0 0 0 0 2" }) }));
}
};
IconDrag.iconName = "drag";
export default IconDrag;