@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
56 lines (54 loc) • 5.88 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function ScikitLearnIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 277.319 149.559",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
"aria-hidden": "true",
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
fill: colored ? '#f89939' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#f89939') ? 'white' : 'currentColor'),
d: "M212.711 127.088c33.87-33.867 39.498-83.146 12.572-110.07C198.361-9.903 149.084-4.275 115.217 29.59c-33.867 33.866-24.07 98.568-12.57 110.07 9.293 9.293 76.2 21.293 110.064-12.572z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#3499cd' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#3499cd') ? 'white' : 'currentColor'),
d: "M73.741 78.15C54.093 58.504 25.5 55.233 9.874 70.857c-15.62 15.622-12.355 44.22 7.297 63.865 19.652 19.654 57.195 13.969 63.863 7.295 5.396-5.387 12.361-44.215-7.293-63.865z"
}), /*#__PURE__*/React.createElement("g", {
fill: "#010101"
}, /*#__PURE__*/React.createElement("path", {
d: "M141.534 118.787c-3.47 3.195-6.516 5.553-9.133 7.068-2.617 1.52-5.113 2.279-7.488 2.279-2.732 0-4.936-1.06-6.607-3.178-1.674-2.121-2.508-4.965-2.508-8.543 0-5.361 1.162-11.797 3.486-19.301 2.32-7.51 5.145-14.43 8.463-20.761l9.73-3.602c.304-.102.536-.154.69-.154.738 0 1.348.544 1.816 1.627.473 1.088.711 2.55.711 4.388 0 5.209-1.199 10.252-3.602 15.129-2.402 4.879-6.154 10.086-11.26 15.627-.205 2.656-.307 4.48-.307 5.477 0 2.223.408 3.982 1.225 5.285.818 1.305 1.902 1.953 3.256 1.953 1.381 0 2.848-.494 4.406-1.49 1.555-.998 3.93-3.064 7.121-6.207v4.403zm-14.668-14.973a46.735 46.735 0 007.891-12.121c2.016-4.475 3.023-8.324 3.023-11.55 0-.94-.139-1.703-.418-2.277-.28-.575-.64-.864-1.074-.864-.94 0-2.316 2.352-4.117 7.057-1.8 4.704-3.569 11.29-5.305 19.755z"
}), /*#__PURE__*/React.createElement("path", {
d: "M170.186 118.787c-3.242 3.195-6.152 5.553-8.732 7.068-2.58 1.52-5.424 2.279-8.54 2.279-3.474 0-6.276-1.111-8.41-3.33-2.132-2.225-3.196-5.146-3.196-8.773 0-5.412 1.875-10.31 5.633-14.688 3.75-4.381 7.914-6.57 12.484-6.57 2.375 0 4.275.615 5.707 1.84 1.43 1.227 2.145 2.834 2.145 4.826 0 5.287-5.617 9.574-16.852 12.869 1.02 4.977 3.688 7.469 8.004 7.469 1.686 0 3.293-.453 4.824-1.357 1.535-.908 3.844-2.922 6.934-6.035v4.402zm-20.07-7.084c6.535-1.84 9.805-5.234 9.805-10.188 0-2.451-.895-3.676-2.68-3.676-1.686 0-3.293 1.28-4.824 3.85-1.536 2.565-2.3 5.9-2.3 10.014z"
}), /*#__PURE__*/React.createElement("path", {
d: "M211.092 118.787c-4.086 3.88-7.01 6.412-8.77 7.588-1.762 1.174-3.447 1.76-5.057 1.76-4.035 0-5.936-3.561-5.707-10.686-2.553 3.65-4.91 6.344-7.068 8.084-2.156 1.736-4.383 2.602-6.684 2.602-2.244 0-4.152-1.051-5.725-3.158-1.573-2.107-2.354-4.691-2.354-7.758 0-3.828 1.051-7.48 3.156-10.955 2.11-3.473 4.81-6.28 8.102-8.424 3.293-2.145 6.207-3.22 8.732-3.22 3.193 0 5.428 1.47 6.705 4.405l7.828-4.326h2.148l-3.38 11.22c-1.737 5.646-2.608 9.515-2.608 11.608 0 2.195.777 3.293 2.336 3.293.992 0 2.09-.53 3.291-1.59 1.201-1.061 2.883-2.676 5.053-4.846v4.403zm-28.037 2.109c2.553 0 4.96-2.176 7.223-6.53 2.26-4.354 3.39-8.372 3.39-12.048 0-1.428-.323-2.547-.958-3.35-.64-.807-1.496-1.207-2.566-1.207-2.555 0-4.977 2.17-7.258 6.512-2.285 4.342-3.43 8.338-3.43 11.986 0 1.38.34 2.498 1.016 3.354.676.856 1.534 1.283 2.583 1.283z"
}), /*#__PURE__*/React.createElement("path", {
d: "M239.705 118.787c-6.41 6.28-11.352 9.424-14.824 9.424-1.559 0-2.875-.658-3.945-1.97-1.07-1.315-1.609-2.944-1.609-4.886 0-3.6 1.93-8.424 5.785-14.477-1.89.97-3.957 1.645-6.205 2.029-1.66 3.064-4.266 6.359-7.814 9.879h-.879v-3.443a50.229 50.229 0 005.4-6.666c-2.199-.971-3.295-2.414-3.295-4.326 0-1.97.668-4.068 2.012-6.305 1.34-2.232 3.184-3.348 5.535-3.348 1.992 0 2.986 1.018 2.986 3.062 0 1.609-.574 3.906-1.725 6.895 4.238-.461 7.941-3.701 11.11-9.73l3.483-.153-3.562 9.805c-1.48 4.137-2.438 6.955-2.87 8.447-.434 1.492-.653 2.816-.653 3.963 0 1.074.25 1.932.746 2.566.498.643 1.17.959 2.012.959.918 0 1.801-.314 2.643-.936.842-.631 2.732-2.36 5.67-5.193v4.404z"
}), /*#__PURE__*/React.createElement("path", {
d: "M277.32 118.787c-5.899 6.234-10.958 9.348-15.169 9.348-1.71 0-3.09-.6-4.137-1.801-1.049-1.2-1.572-2.807-1.572-4.824 0-2.732 1.125-6.908 3.373-12.523 1.2-3.014 1.801-4.932 1.801-5.746 0-.818-.322-1.227-.957-1.227-.357 0-.832.18-1.418.535-.539.357-1.164.859-1.879 1.496a42.928 42.928 0 00-2.145 2.14 61.043 61.043 0 00-2.219 2.454l-2.148 2.492c-.943 1.148-1.53 2.359-1.76 3.637-.385 2.17-.639 4.164-.768 5.979-.078 1.35-.115 3.174-.115 5.477l-8.465 1.988c-.279-3.447-.422-6.014-.422-7.697 0-4.111.48-8.006 1.438-11.682.957-3.68 2.494-7.814 4.615-12.412l9.344-1.8c-1.965 5.288-3.254 9.448-3.867 12.485 4.188-4.672 7.508-7.906 9.97-9.71 2.456-1.8 4.644-2.696 6.556-2.696 1.3 0 2.385.49 3.25 1.47.87.983 1.301 2.216 1.301 3.69 0 2.449-1.098 6.484-3.29 12.104-1.509 3.854-2.263 6.355-2.263 7.51 0 1.537.627 2.305 1.881 2.305 1.867 0 4.891-2.465 9.064-7.393z"
})), /*#__PURE__*/React.createElement("text", {
fontSize: 23.08,
style: {
lineHeight: "0%"
},
x: 153.333,
y: 81.946,
fill: colored ? '#fff' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#fff') ? 'white' : 'currentColor'),
fontFamily: "Helvetica"
}, "\n scikit\n "));
}
const ForwardRef = React.forwardRef(ScikitLearnIcon);
module.exports = ForwardRef;