@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
63 lines (61 loc) • 4.36 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function IPythonIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
id: "Layer_1",
"data-name": "Layer 1",
viewBox: "0 0 668.509 474.562",
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null, "\n .cls-1{isolation:isolate}.cls-2{fill:#020202}.cls-3{fill:#2a2a2a}.cls-4{fill:#3067ab}\n ")), /*#__PURE__*/React.createElement("g", {
className: "cls-1"
}, /*#__PURE__*/React.createElement("path", {
d: "M21.948 210.932h45.7V46.73h-45.7V24.05h114.95V46.73h-45.7v164.202h45.7v22.681H21.948zM192.129 24.049h55.512c40.653 0 68.129 15.653 68.129 61.655 0 44.405-27.756 64.85-68.129 64.85H215.68v83.06h-23.551zm52.708 104.782c31.962 0 47.382-13.417 47.382-43.127 0-30.029-15.7-39.932-47.382-39.932H215.68v83.059z",
className: "cls-2"
})), /*#__PURE__*/React.createElement("g", {
className: "cls-1"
}, /*#__PURE__*/React.createElement("path", {
d: "M28.948 409.316h23.825V323.71H28.948v-11.825h59.927v11.825H65.051v85.606h23.824v11.826H28.948zM121.323 311.885h28.94c21.194 0 35.518 8.16 35.518 32.144 0 23.15-14.47 33.81-35.518 33.81h-16.662v43.303h-12.278zm27.479 54.629c16.662 0 24.701-6.995 24.701-22.485 0-15.656-8.185-20.819-24.701-20.819H133.6v43.304zM207.56 454.285l2.484-10.992a20.252 20.252 0 006.431 1.166c9.94 0 15.932-7.162 19.44-17.155l2.046-5.995-33.033-81.11h12.278l17.247 44.635c2.777 7.161 5.847 15.655 8.77 23.483h.585c2.484-7.66 5.262-16.155 7.6-23.483l15.347-44.636h11.694l-31.426 87.606c-5.262 15.988-13.885 28.146-30.11 28.146a26.598 26.598 0 01-9.354-1.665zM319.228 389.664v-38.307h-20.17v-10.326l20.608-.833 1.608-25.981h10.085v25.981h34.787v11.16H331.36v38.472c0 14.49 4.24 21.984 17.979 21.984a41.748 41.748 0 0016.955-3.664l2.63 10.16c-6.43 2.665-13.3 4.83-22.216 4.83-20.755 0-27.479-13.49-27.479-33.476zM394.063 302.559h12.131v32.31l-.73 19.153h.438c7.162-8.994 15.494-15.822 26.456-15.822 16.809 0 24.556 11.325 24.556 32.644v50.298h-12.132v-48.466c0-15.322-4.678-22.485-16.224-22.485-8.478 0-14.178 4.83-22.364 14.49v56.46h-12.131zM480.591 380.837c0-27.148 16.37-42.637 35.079-42.637s35.08 15.49 35.08 42.637c0 26.814-16.371 42.304-35.08 42.304s-35.079-15.49-35.079-42.304zm57.735 0c0-18.654-9.062-31.146-22.656-31.146-13.593 0-22.655 12.492-22.655 31.146 0 18.486 9.062 30.811 22.655 30.811 13.594 0 22.656-12.325 22.656-30.811zM576.767 340.198h9.939l1.023 13.657h.585c7.455-8.827 15.64-15.655 26.749-15.655 16.808 0 24.554 11.325 24.554 32.644v50.298h-12.13v-48.466c0-15.322-4.678-22.485-16.225-22.485-8.478 0-14.178 4.83-22.364 14.49v56.46h-12.131z",
className: "cls-3"
})), /*#__PURE__*/React.createElement("g", {
className: "cls-1"
}, /*#__PURE__*/React.createElement("path", {
d: "M362.71 52.274h52.89v13.188h-36.393v154.27H415.6v13.187h-52.89z",
className: "cls-4"
})), /*#__PURE__*/React.createElement("path", {
d: "M433.233 228.219l3.124-13.82a25.446 25.446 0 008.086 1.465c12.497 0 20.032-9.004 24.443-21.567l2.572-7.54-41.533-101.975h15.437l21.686 56.118c3.492 9.004 7.35 19.684 11.027 29.526h.735c3.124-9.633 6.616-20.312 9.556-29.526l19.297-56.118h14.702l-39.512 110.143c-6.616 20.101-17.459 35.387-37.858 35.387a33.448 33.448 0 01-11.762-2.093z"
}), /*#__PURE__*/React.createElement("g", {
className: "cls-1"
}, /*#__PURE__*/React.createElement("path", {
d: "M579.916 231.467h-52.89v-13.188h36.393V64.01h-36.393V50.823h52.89z",
className: "cls-4"
})), /*#__PURE__*/React.createElement("circle", {
cx: 630.875,
cy: 96.601,
r: 13.851,
className: "cls-4"
}), /*#__PURE__*/React.createElement("circle", {
cx: 630.875,
cy: 186.549,
r: 13.851,
className: "cls-4"
}));
}
const ForwardRef = React.forwardRef(IPythonIcon);
module.exports = ForwardRef;