UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

33 lines (31 loc) 1.1 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function PlusCircleIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fillRule: "evenodd", clipRule: "evenodd", viewBox: "0 0 24 24", 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("path", { d: "M11.5 0C17.847 0 23 5.153 23 11.5S17.847 23 11.5 23 0 17.847 0 11.5 5.153 0 11.5 0zm0 1C17.295 1 22 5.705 22 11.5S17.295 22 11.5 22 1 17.295 1 11.5 5.705 1 11.5 1zm.5 10h6v1h-6v6h-1v-6H5v-1h6V5h1v6z" })); } const ForwardRef = React.forwardRef(PlusCircleIcon); export default ForwardRef;