UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 1.1 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconSearch = (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", { fillRule: "evenodd", d: "M15.247 16.307a7.5 7.5 0 1 1 1.06-1.06l4.473 4.473a.75.75 0 1 1-1.06 1.06zM16.5 10.5a6 6 0 1 1-12 0 6 6 0 0 1 12 0", clipRule: "evenodd" }) })); 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", { fillRule: "evenodd", d: "M12.874 13.582a6 6 0 1 1 .707-.707l3.273 3.271a.5.5 0 0 1-.708.708zM14 9A5 5 0 1 1 4 9a5 5 0 0 1 10 0", clipRule: "evenodd" }) })); } }; IconSearch.iconName = "search"; export default IconSearch;