@datalayer/icons-react
Version:
React.js and JupyterLab icons for data products.
35 lines (33 loc) • 1.1 kB
JavaScript
const React = require("react");
const sizeMap = {
"small": 16,
"medium": 32,
"large": 64
};
function PlayIcon({
title,
titleId,
size,
...props
}, svgRef) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 72 72",
fill: "currentColor",
"aria-hidden": "true",
ref: svgRef,
width: size ? typeof size === "string" ? sizeMap[size] : size : "16px",
"aria-labelledby": titleId
}, props), title ? /*#__PURE__*/React.createElement("title", {
id: titleId
}, title) : null, /*#__PURE__*/React.createElement("path", {
fill: "none",
stroke: "#000",
strokeLinejoin: "round",
strokeMiterlimit: 10,
strokeWidth: 2,
d: "M19.582 55.606c.484.178 1.03.297 1.575.297.849 0 1.697-.297 2.425-.772l30-15.98.303-.296c.788-.772 1.212-1.723 1.212-2.792 0-1.07-.425-2.08-1.212-2.792l-.303-.297-30-16.098c-1.091-.832-2.667-1.01-4-.475-1.516.594-2.485 2.079-2.485 3.683v31.84c0 1.603.97 3.088 2.485 3.682z"
}));
}
const ForwardRef = React.forwardRef(PlayIcon);
module.exports = ForwardRef;