UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

10 lines (9 loc) 1.84 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconBadge = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; return (_jsxs("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: "M19.25 7.52555L12.25 3.4841C12.0953 3.39479 11.9047 3.39479 11.75 3.4841L4.75 7.52555C4.5953 7.61487 4.5 7.77993 4.5 7.95857V16.0415C4.5 16.2201 4.5953 16.3852 4.75 16.4745L11.75 20.5159C11.9047 20.6052 12.0953 20.6052 12.25 20.5159L19.25 16.4745C19.4047 16.3852 19.5 16.2201 19.5 16.0415V7.95857C19.5 7.77993 19.4047 7.61487 19.25 7.52555ZM13 2.18506C12.3812 1.8278 11.6188 1.8278 11 2.18506L4 6.22651C3.3812 6.58378 3 7.24403 3 7.95857V16.0415C3 16.756 3.3812 17.4163 4 17.7735L11 21.815C11.6188 22.1722 12.3812 22.1722 13 21.815L20 17.7735C20.6188 17.4163 21 16.756 21 16.0415V7.95857C21 7.24403 20.6188 6.58378 20 6.22651L13 2.18506Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.0612 10.5395L12.0001 8.38938L10.9389 10.5395L8.56614 10.8843L10.2831 12.5579L9.8778 14.9211L12.0001 13.8054L14.1224 14.9211L13.7171 12.5579L15.4341 10.8843L13.0612 10.5395ZM9.94285 9.16849L7.34787 9.54556C6.52765 9.66475 6.20014 10.6727 6.79365 11.2513L8.6714 13.0816L8.22812 15.6661C8.08801 16.483 8.94545 17.106 9.67907 16.7203L12.0001 15.5L14.3211 16.7203C15.0548 17.106 15.9122 16.483 15.7721 15.6661L15.3288 13.0816L17.2065 11.2513C17.8001 10.6727 17.4726 9.66475 16.6523 9.54556L14.0573 9.16849L12.8968 6.81703C12.53 6.07379 11.4702 6.07379 11.1034 6.81703L9.94285 9.16849Z" })] })); }; IconBadge.iconName = "badge"; export default IconBadge;