UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

31 lines (29 loc) 1.69 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function SparklesOcticonsIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", 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: "M9.6 2.279a.426.426 0 01.8 0l.407 1.112a6.386 6.386 0 003.802 3.802l1.112.407a.426.426 0 010 .8l-1.112.407a6.386 6.386 0 00-3.802 3.802l-.407 1.112a.426.426 0 01-.8 0l-.407-1.112a6.386 6.386 0 00-3.802-3.802L4.279 8.4a.426.426 0 010-.8l1.112-.407a6.386 6.386 0 003.802-3.802L9.6 2.279zm-4.267 8.837a.178.178 0 01.334 0l.169.464a2.662 2.662 0 001.584 1.584l.464.169a.178.178 0 010 .334l-.464.169a2.662 2.662 0 00-1.584 1.584l-.169.464a.178.178 0 01-.334 0l-.169-.464a2.662 2.662 0 00-1.584-1.584l-.464-.169a.178.178 0 010-.334l.464-.169a2.662 2.662 0 001.584-1.584l.169-.464zM2.8.14a.213.213 0 01.4 0l.203.556a3.2 3.2 0 001.901 1.901l.556.203a.213.213 0 010 .4l-.556.203a3.2 3.2 0 00-1.901 1.901L3.2 5.86a.213.213 0 01-.4 0l-.203-.556A3.2 3.2 0 00.696 3.403L.14 3.2a.213.213 0 010-.4l.556-.203A3.2 3.2 0 002.597.696L2.8.14z" })); } const ForwardRef = React.forwardRef(SparklesOcticonsIcon); export default ForwardRef;