UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 1.24 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconPaymentFilled = (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: "M2 6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v1.5H2z" }), _jsx("path", { fillRule: "evenodd", d: "M2 9h20v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2zm3.75 6.5a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5z", 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: "M2 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1H2z" }), _jsx("path", { fillRule: "evenodd", d: "M2 8h16v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2zm3.5 4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z", clipRule: "evenodd" })] })); } }; IconPaymentFilled.iconName = "payment--filled"; export default IconPaymentFilled;