UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 1.71 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconNotification = (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: "M6 9a6 6 0 1 1 12 0v3l1.414 1.414A2 2 0 0 1 20 14.828V16a2 2 0 0 1-2 2h-2.127a4 4 0 0 1-7.746 0H6a2 2 0 0 1-2-2v-1.172a2 2 0 0 1 .586-1.414L6 12zm1.06 4.06A1.5 1.5 0 0 0 7.5 12V9a4.5 4.5 0 0 1 9 0v3c0 .398.158.78.44 1.06l1.414 1.415a.5.5 0 0 1 .146.353V16a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5v-1.172a.5.5 0 0 1 .146-.353zM9.71 18a2.5 2.5 0 0 0 4.582 0z", 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: "M7.172 16H4.5A1.5 1.5 0 0 1 3 14.5v-.879c0-.398.158-.779.44-1.06l1.267-1.268A1 1 0 0 0 5 10.586V8a5 5 0 0 1 10 0v2.586a1 1 0 0 0 .293.707l1.268 1.268A1.5 1.5 0 0 1 17 13.62v.879a1.5 1.5 0 0 1-1.5 1.5h-2.672q-.026.076-.056.148a3 3 0 0 1-5.6-.148M6 10.586V8a4 4 0 1 1 8 0v2.586A2 2 0 0 0 14.586 12l1.268 1.268a.5.5 0 0 1 .146.353v.879a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-.879a.5.5 0 0 1 .146-.353L5.414 12A2 2 0 0 0 6 10.586M8.268 16a2 2 0 0 0 3.464 0z", clipRule: "evenodd" }) })); } }; IconNotification.iconName = "notification"; export default IconNotification;