@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
31 lines (29 loc) • 1.6 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function AcDcIcon({
title,
titleId,
size,
colored,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "52.5 5.5 497 497",
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", {
d: "M158.704 298.322l-26.03 26.03-25.826-26.03 11.591-11.592v-23.793H93.426v23.793l11.592 11.592-26.03 26.03-25.827-26.03 11.591-11.592V181.797l42.91-42.502 39.45 39.451V286.73zm-40.265-65.279V195.83l-25.013-25.014v62.228zM248.993 180.983l-21.76 21.353-30.91-31.52v106.763l7.524 7.321 23.387-23.59 20.946 20.54-42.706 42.502-37.825-37.622V178.746l39.859-39.655zM345.181 225.52l-75.04 104.526 26.234-75.65H270.14l34.165-78.497h32.334l-18.302 49.62zM446.86 290.39l-33.555 33.96H374.87l-22.571-23.183 12.201-11.998v-114.49l-12.405-12.405 22.775-22.776h38.436l33.555 33.961zm-28.674-16.268v-84.394l-25.014-24.2v132.794zM548.742 180.983l-21.758 21.353-30.91-31.52v106.763l7.524 7.321 23.386-23.59 20.946 20.54-42.705 42.502L467.4 286.73V178.746l39.859-39.655z"
}));
}
const ForwardRef = React.forwardRef(AcDcIcon);
module.exports = ForwardRef;