UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

59 lines (57 loc) 1.41 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function DragIndicatorIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: colored ? 'none' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('none') ? 'white' : 'currentColor'), viewBox: "0 0 24 24", "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("circle", { cx: 18, cy: 18, r: 2, fill: "#757575" }), /*#__PURE__*/React.createElement("circle", { cx: 12, cy: 18, r: 2, fill: "#757575" }), /*#__PURE__*/React.createElement("circle", { cx: 6, cy: 18, r: 2, fill: "#757575" }), /*#__PURE__*/React.createElement("circle", { cx: 18, cy: 12, r: 2, fill: "#757575" }), /*#__PURE__*/React.createElement("circle", { cx: 12, cy: 12, r: 2, fill: "#757575" }), /*#__PURE__*/React.createElement("circle", { cx: 18, cy: 6, r: 2, fill: "#757575" })); } const ForwardRef = React.forwardRef(DragIndicatorIcon); export default ForwardRef;