UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 1.65 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconAction = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; switch (props?.size) { case "l": return (_jsxs("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: "M12.25 2A3.25 3.25 0 0 0 9 5.25v.5a.75.75 0 0 0 1.5 0v-.5c0-.966.784-1.75 1.75-1.75h6.5c.966 0 1.75.784 1.75 1.75v6.5a1.75 1.75 0 0 1-1.75 1.75h-.5a.75.75 0 0 0 0 1.5h.5A3.25 3.25 0 0 0 22 11.75v-6.5A3.25 3.25 0 0 0 18.75 2z" }), _jsx("path", { fillRule: "evenodd", d: "M16 15a7 7 0 1 1-14 0 7 7 0 0 1 14 0m-1.5 0a5.5 5.5 0 1 1-9.883-3.323L7.72 14.78a.75.75 0 0 0 1.06-1.06l-3.103-3.103A5.5 5.5 0 0 1 14.5 15", clipRule: "evenodd" })] })); default: return (_jsxs("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: "M9 4.5A1.5 1.5 0 0 1 10.5 3h5A1.5 1.5 0 0 1 17 4.5v5a1.5 1.5 0 0 1-1.5 1.5h-1.07a.5.5 0 0 0 0 1h1.07A2.5 2.5 0 0 0 18 9.5v-5A2.5 2.5 0 0 0 15.5 2h-5A2.5 2.5 0 0 0 8 4.5v1.07a.5.5 0 0 0 1 0z" }), _jsx("path", { fillRule: "evenodd", d: "M7.5 18a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11m0-1a4.5 4.5 0 1 0-2.809-8.016l2.663 2.662a.5.5 0 0 1-.708.708L3.984 9.69A4.5 4.5 0 0 0 7.5 17", clipRule: "evenodd" })] })); } }; IconAction.iconName = "action"; export default IconAction;