UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 3.16 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", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 9C6 5.68629 8.68629 3 12 3C15.3137 3 18 5.68629 18 9V12L19.4142 13.4142C19.7893 13.7893 20 14.298 20 14.8284V16C20 17.1046 19.1046 18 18 18H15.873C15.6958 18.686 15.338 19.3189 14.8284 19.8284C14.0783 20.5786 13.0609 21 12 21C10.9391 21 9.92172 20.5786 9.17157 19.8284C8.66203 19.3189 8.30416 18.686 8.12701 18H6C4.89543 18 4 17.1046 4 16V14.8284C4 14.298 4.21071 13.7893 4.58579 13.4142L6 12V9ZM7.06066 13.0607C7.34196 12.7794 7.5 12.3978 7.5 12V9C7.5 6.51472 9.51472 4.5 12 4.5C14.4853 4.5 16.5 6.51472 16.5 9V12C16.5 12.3978 16.658 12.7794 16.9393 13.0607L18.3536 14.4749C18.4473 14.5686 18.5 14.6958 18.5 14.8284V16C18.5 16.2761 18.2761 16.5 18 16.5H6C5.72386 16.5 5.5 16.2761 5.5 16V14.8284C5.5 14.6958 5.55268 14.5686 5.64645 14.4749L7.06066 13.0607ZM9.70871 18C9.83253 18.2837 10.0091 18.5447 10.2322 18.7678C10.7011 19.2366 11.337 19.5 12 19.5C12.663 19.5 13.2989 19.2366 13.7678 18.7678C13.9909 18.5447 14.1675 18.2837 14.2913 18H9.70871Z" }) })); default: return (_jsx("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.17157 16H4.5C3.67157 16 3 15.3284 3 14.5V13.6213C3 13.2235 3.15804 12.842 3.43934 12.5607L4.70711 11.2929C4.89464 11.1054 5 10.851 5 10.5858V8C5 5.23858 7.23858 3 10 3C12.7614 3 15 5.23858 15 8V10.5858C15 10.851 15.1054 11.1054 15.2929 11.2929L16.5607 12.5607C16.842 12.842 17 13.2235 17 13.6213V14.5C17 15.3284 16.3284 16 15.5 16H12.8284C12.8108 16.0498 12.7919 16.0992 12.7716 16.1481C12.6209 16.512 12.3999 16.8427 12.1213 17.1213C11.8427 17.3999 11.512 17.6209 11.1481 17.7716C10.7841 17.9224 10.394 18 10 18C9.60603 18 9.21593 17.9224 8.85195 17.7716C8.48797 17.6209 8.15726 17.3999 7.87868 17.1213C7.6001 16.8427 7.37913 16.512 7.22836 16.1481C7.20811 16.0992 7.18917 16.0498 7.17157 16ZM6 10.5858V8C6 5.79086 7.79086 4 10 4C12.2091 4 14 5.79086 14 8V10.5858C14 11.1162 14.2107 11.6249 14.5858 12L15.8536 13.2678C15.9473 13.3615 16 13.4887 16 13.6213V14.5C16 14.7761 15.7761 15 15.5 15H4.5C4.22386 15 4 14.7761 4 14.5V13.6213C4 13.4887 4.05268 13.3615 4.14645 13.2678L5.41421 12C5.78929 11.6249 6 11.1162 6 10.5858ZM8.26795 16C8.35515 16.151 8.46193 16.2904 8.58579 16.4142C8.7715 16.5999 8.99198 16.7472 9.23463 16.8478C9.47728 16.9483 9.73736 17 10 17C10.2626 17 10.5227 16.9483 10.7654 16.8478C11.008 16.7472 11.2285 16.5999 11.4142 16.4142C11.5381 16.2904 11.6448 16.151 11.7321 16H8.26795Z" }) })); } }; IconNotification.iconName = "notification"; export default IconNotification;