@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.99 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconVerified = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
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", { d: "M15.7803 10.2803C16.0732 9.98736 16.0732 9.51249 15.7803 9.21959C15.4874 8.9267 15.0126 8.9267 14.7197 9.21959L10.75 13.1893L9.28033 11.7196C8.98744 11.4267 8.51256 11.4267 8.21967 11.7196C7.92678 12.0125 7.92678 12.4874 8.21967 12.7803L10.2197 14.7803C10.5126 15.0731 10.9874 15.0731 11.2803 14.7803L15.7803 10.2803Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.25 7.52543L12.25 3.48398C12.0953 3.39466 11.9047 3.39466 11.75 3.48398L4.74999 7.52543C4.59529 7.61475 4.49999 7.77981 4.49999 7.95844V16.0413C4.49999 16.22 4.59529 16.385 4.74999 16.4744L11.75 20.5158C11.9047 20.6051 12.0953 20.6051 12.25 20.5158L19.25 16.4744C19.4047 16.385 19.5 16.22 19.5 16.0413V7.95844C19.5 7.77981 19.4047 7.61475 19.25 7.52543ZM13 2.18494C12.3812 1.82768 11.6188 1.82768 11 2.18494L3.99999 6.22639C3.38119 6.58366 2.99999 7.24391 2.99999 7.95844V16.0413C2.99999 16.7559 3.38119 17.4161 3.99999 17.7734L11 21.8148C11.6188 22.1721 12.3812 22.1721 13 21.8148L20 17.7734C20.6188 17.4161 21 16.7559 21 16.0413V7.95844C21 7.24391 20.6188 6.58366 20 6.22639L13 2.18494Z" })] }));
default:
return (_jsxs("svg", { viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { d: "M10.8536 6.14669C11.0488 6.34195 11.0488 6.65854 10.8536 6.8538L7.35355 10.3538C7.15829 10.5491 6.84171 10.5491 6.64645 10.3538L4.64645 8.3538C4.45118 8.15854 4.45118 7.84195 4.64645 7.64669C4.84171 7.45143 5.15829 7.45143 5.35355 7.64669L7 9.29314L10.1464 6.14669C10.3417 5.95143 10.6583 5.95143 10.8536 6.14669Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.33333 1.45695C7.74586 1.21878 8.25413 1.21878 8.66666 1.45695L13.3333 4.15125C13.7459 4.38943 14 4.8296 14 5.30595V10.6946C14 11.1709 13.7459 11.6111 13.3333 11.8493L8.66666 14.5436C8.25413 14.7817 7.74586 14.7817 7.33333 14.5436L2.66666 11.8493C2.25413 11.6111 2 11.1709 2 10.6946V5.30595C2 4.8296 2.25413 4.38943 2.66666 4.15125L7.33333 1.45695ZM8.16666 2.32298L12.8333 5.01728C12.9365 5.07682 13 5.18687 13 5.30595V10.6946C13 10.8136 12.9365 10.9237 12.8333 10.9832L8.16666 13.6775C8.06353 13.7371 7.93646 13.7371 7.83333 13.6775L3.16666 10.9832C3.06353 10.9237 3 10.8136 3 10.6946V5.30595C3 5.18687 3.06353 5.07682 3.16666 5.01728L7.83333 2.32298C7.93646 2.26343 8.06353 2.26343 8.16666 2.32298Z" })] }));
}
};
IconVerified.iconName = "verified";
export default IconVerified;