@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
48 lines (46 loc) • 2.02 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function ShieldIcon({
title,
titleId,
size,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 72 72",
fill: "currentColor",
"aria-hidden": "true",
ref: svgRef,
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
fill: "#D0CFCE",
d: "M35.99 10.906c-11.046 0-20 4.478-20 10l.026.275C18.967 51.711 34.69 60.25 35.914 60.87l.076.037s17-8 20-40c.515-5.498-8.954-10-20-10zm.002 43.978l-.06-.03c-.978-.496-13.543-7.318-15.901-31.714l-.021-.22c0-4.413 7.155-7.99 15.982-7.99 8.826 0 16.394 3.596 15.982 7.99-2.397 25.571-15.982 31.964-15.982 31.964z"
}), /*#__PURE__*/React.createElement("path", {
fill: "#EA5A47",
d: "M35 17.906l3 4-3 4 3 4-3 4 3 4-3 4 3 4-3 4 1 5.26s-15-11-16-32c0 0 0-8 16-8l-1 2.74z"
}), /*#__PURE__*/React.createElement("path", {
fill: "#D22F27",
d: "M36 15.166l-1 2.74 3 4-3 4 3 4-3 4 3 4-3 4 3 4-3 4 1.002 4.978s13.844-8.958 15.982-31.964c0 0-.834-6.97-15.984-7.754z"
}), /*#__PURE__*/React.createElement("g", {
fill: "none",
stroke: "#000",
strokeLinecap: "round",
strokeLinejoin: "round",
strokeMiterlimit: 10,
strokeWidth: 2
}, /*#__PURE__*/React.createElement("path", {
d: "M35.925 60.87C34.7 60.248 18.978 51.71 16.026 21.18L16 20.906c0-5.522 8.954-10 20-10s20.515 4.502 20 10c-3 32-20 40-20 40l-.075-.037z"
}), /*#__PURE__*/React.createElement("path", {
d: "M35.942 54.854c-.978-.496-13.543-7.318-15.9-31.714l-.022-.22c0-4.413 7.155-7.991 15.982-7.991s16.394 3.597 15.982 7.991c-2.397 25.571-15.982 31.964-15.982 31.964l-.06-.03z"
})));
}
const ForwardRef = React.forwardRef(ShieldIcon);
export default ForwardRef;