@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
45 lines (43 loc) • 3.62 kB
JavaScript
import * as React from "react";
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function ArxivIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
"data-name": "primary logo",
viewBox: "0 0 246.978 111.119",
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 ? '#7c7469' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#7c7469') ? 'white' : 'currentColor'),
d: "M69.406 32.884c1.859 0 3.1 1.24 3.985 3.453 1.062-2.213 2.568-3.453 4.694-3.453h14.878a4.062 4.062 0 014.074 4.074v7.828c0 2.656-1.327 4.074-4.074 4.074-2.656 0-4.074-1.418-4.074-4.074V41.03H78.35a2.411 2.411 0 00-2.656 2.745v27.188h10.007c2.658 0 4.074 1.329 4.074 4.074s-1.416 4.074-4.074 4.074h-26.39c-2.659 0-3.986-1.328-3.986-4.074s1.327-4.074 3.986-4.074h8.236V41.03h-7.263c-2.656 0-3.985-1.329-3.985-4.074 0-2.658 1.329-4.074 3.985-4.074zM181.068 32.884c2.656 0 4.074 1.416 4.074 4.074v34.007h10.1c2.746 0 4.074 1.329 4.074 4.074s-1.328 4.074-4.074 4.074h-28.607c-2.656 0-4.074-1.328-4.074-4.074s1.418-4.074 4.074-4.074h10.362V41.03h-8.533c-2.744 0-4.073-1.329-4.073-4.074 0-2.658 1.329-4.074 4.073-4.074zm4.22-17.615a5.859 5.859 0 11-5.819-5.819 5.9 5.9 0 015.819 5.819zM246.978 36.958a4.589 4.589 0 01-.267 1.594L231.835 76.63a3.722 3.722 0 01-3.721 2.48h-5.933a3.689 3.689 0 01-3.808-2.48l-15.055-38.081a3.23 3.23 0 01-.355-1.594 4.084 4.084 0 014.164-4.074 3.8 3.8 0 013.718 2.656l14.348 36.134 13.9-36.134a3.8 3.8 0 013.72-2.656 4.084 4.084 0 014.165 4.077z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#aa142d' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#aa142d') ? 'white' : 'currentColor'),
d: "M127.984 55.607L95.243 94.459c-1.286 1.372-2.084 3.777-1.365 5.5a4.705 4.705 0 004.4 2.914 4.191 4.191 0 003.16-1.563l40.191-42.714a4.417 4.417 0 00.042-6.042z"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#7c7469' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#7c7469') ? 'white' : 'currentColor'),
d: "M127.984 55.607l31.187-38.268c1.492-1.989 2.2-3.03 1.492-4.723a5.142 5.142 0 00-4.481-3.161 4.024 4.024 0 00-3.008 1.108L114.546 52.33a4.769 4.769 0 00.015 6.53l47.786 51.07a3.913 3.913 0 003.137 1.192 4.394 4.394 0 004.027-2.818c.719-1.727-.076-3.438-1.4-5.23L127.987 55.61"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#aa142d' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#aa142d') ? 'white' : 'currentColor'),
d: "M141.668 52.558L95.004 2.13S93.291.05 91.48.006a4.607 4.607 0 00-4.338 2.788c-.705 1.692-.2 2.88 1.349 5.1l40.093 48.422"
}), /*#__PURE__*/React.createElement("path", {
fill: colored ? '#7c7469' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('#7c7469') ? 'white' : 'currentColor'),
d: "M32.445 32.884c5.018 0 8.206 3.312 8.206 8.4v37.831H5.143A4.813 4.813 0 010 74.186V61.157a8.256 8.256 0 017-8.148l25.507-3.572v-8.4H4.141A4.014 4.014 0 010 36.963c0-2.87 2.143-4.074 4.355-4.074zm.059 38.081V57.672l-24.354 3.4v9.9z"
}));
}
const ForwardRef = React.forwardRef(ArxivIcon);
export default ForwardRef;