@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
53 lines (51 loc) • 2.79 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function PackageIcon({
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: "#f4aa41",
d: "M35.572 66.664a1.003 1.003 0 01-.5-.134L9.382 51.698a1 1 0 01-.5-.866V21.168a1 1 0 01.5-.866L35.072 5.47a1.004 1.004 0 011 0l25.69 14.832a1 1 0 01.003 1.731L36.629 36.61l-.057 29.056a1 1 0 01-1 .998z"
}), /*#__PURE__*/React.createElement("path", {
fill: "#f4aa41",
d: "M35.572 65l25.69-14.168.176-29.515-26.236 14.716.37 28.967z"
}), /*#__PURE__*/React.createElement("path", {
fill: "#d0cfce",
d: "M44.441 37.978a2.471 2.471 0 01-1.249-2.163v-4.172l-25.07-14.529a1 1 0 010-1.73l8.26-4.792a1.003 1.003 0 011.002-.001l25.638 14.801a1 1 0 01.5.867v6.024a3.29 3.29 0 01-1.64 2.84l-4.945 2.855a2.474 2.474 0 01-2.496 0zM45.338 60.341a1 1 0 01-.5-.866v-3.336a2.978 2.978 0 011.485-2.572l6.073-3.507a1.847 1.847 0 012.77 1.6v3.007a1 1 0 01-.5.866l-8.328 4.809a1.001 1.001 0 01-1 0z"
}), /*#__PURE__*/React.createElement("path", {
fill: "#3f3f3f",
d: "M44.427 45.946v.869a1.497 1.497 0 002.245 1.296l6.805-3.76a2.28 2.28 0 001.14-1.975v-1.118a1.444 1.444 0 00-2.166-1.25l-6.745 3.724a2.557 2.557 0 00-1.279 2.214z"
}), /*#__PURE__*/React.createElement("path", {
fill: "#fff",
d: "M31.083 38.917l-8.298-4.653v7.442l8.298 4.653v-7.442z"
}), /*#__PURE__*/React.createElement("g", {
fill: "none",
stroke: "#000",
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 2
}, /*#__PURE__*/React.createElement("path", {
d: "M61.262 21.168L35.572 6.336 9.882 21.168v29.664l25.69 14.832 25.69-14.832V21.168zM35.572 36.033v29.631M35.63 36.033L9.94 21.201M52.517 26.25l8.745-5.049M35.572 36.033l8.616-4.974"
}), /*#__PURE__*/React.createElement("path", {
d: "M26.884 11.457l25.638 14.801v6.025a2.28 2.28 0 01-1.14 1.975l-4.944 2.854a1.497 1.497 0 01-2.245-1.296v-4.749L18.623 16.25M31.083 38.917l-8.298-4.653v7.442l8.298 4.653v-7.442zM54.167 54.666V51.66a.847.847 0 00-1.271-.734l-6.073 3.506a1.97 1.97 0 00-.985 1.707v3.336M44.427 45.946v.869a1.497 1.497 0 002.245 1.296l6.805-3.76a2.28 2.28 0 001.14-1.975v-1.118a1.444 1.444 0 00-2.166-1.25l-6.745 3.724a2.557 2.557 0 00-1.279 2.214z"
})));
}
const ForwardRef = React.forwardRef(PackageIcon);
export default ForwardRef;