@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
36 lines (34 loc) • 2.22 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function JupyterBookIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
"data-name": "Layer 1",
viewBox: "0 0 81.78 71.15",
fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'),
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-hidden": "true",
ref: svgRef,
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
fill: colored ? '#f37726' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#f37726') ? 'white' : 'currentColor'),
d: "M4.8 45.87q2.7 8.46 13.78 8.75h9.17q9.63 0 13.13 7.53Q44.3 54.62 54 54.62h8.45q11.76 0 14.55-8.72l4.78 1.6Q79.71 54.88 75 58.58t-12.37 3.75h-8.75q-10 0-10 8.82h-6q0-8.82-10.13-8.82h-8.42q-7.83 0-12.53-3.78T0 47.5z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#616161' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#616161') ? 'white' : 'currentColor'),
d: "M20.39 41.34A13.88 13.88 0 0114.23 40a10.59 10.59 0 01-4.42-4.06A14.17 14.17 0 018 29.14V29h5.3c.07 2.74.7 4.75 1.88 6.05a6.58 6.58 0 005.09 1.92 6.73 6.73 0 003.8-1 5.9 5.9 0 002.2-2.75 10.43 10.43 0 00.72-4V4.33l-5.44-.72V0h15.56v3.55l-4.57.78v24.86a14 14 0 01-1.39 6.39 9.92 9.92 0 01-4.09 4.25 13.43 13.43 0 01-6.67 1.51zm20.91-.59v-3.53l4.56-.78V4.33l-4.56-.78V0h17.58q6.39 0 10 2.75c2.4 1.83 3.59 4.59 3.59 8.27a7.59 7.59 0 01-1.71 4.86 10.37 10.37 0 01-4.55 3.18 9.53 9.53 0 014.22 2 10 10 0 012.73 3.58 10.92 10.92 0 011 4.64q0 5.59-3.64 8.55t-9.86 3zm10.08-4.31h9.23a8.5 8.5 0 005.86-1.86 6.68 6.68 0 002.09-5.28 10 10 0 00-.76-4.11 5.64 5.64 0 00-2.36-2.63 7.65 7.65 0 00-4-.93H51.38zm0-19.11h8.93a6.7 6.7 0 004.79-1.72 6.17 6.17 0 001.84-4.7A5.89 5.89 0 0064.86 6a9.38 9.38 0 00-6-1.64h-7.5z"
}));
}
const ForwardRef = React.forwardRef(JupyterBookIcon);
export default ForwardRef;