UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 1.34 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconMobile = (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: "M13.25 19a.75.75 0 0 0 0-1.5h-2.5a.75.75 0 0 0 0 1.5z" }), _jsx("path", { fillRule: "evenodd", d: "M8 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2zm-.5-2V4a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v16a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5", 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: "M8.5 14a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1z" }), _jsx("path", { fillRule: "evenodd", d: "M4 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1", clipRule: "evenodd" })] })); } }; IconMobile.iconName = "mobile"; export default IconMobile;