UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

31 lines (29 loc) 2.02 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function StudentIcon({ title, titleId, size, colored, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: colored ? 'currentColor' : (['#fff', '#fffff', 'white', '#FFF', '#FFFFFF'].includes('currentColor') ? 'white' : 'currentColor'), "aria-hidden": "true", viewBox: "0 0 20 20", 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: "M19.576 3.238l-9.23-3.2a.787.787 0 00-.48 0l-9.221 3.2h-.02l-.096.05H.52l-.095.06c0 .01-.01.01-.02.02l-.076.07-.068.08c0 .01-.01.01-.01.02l-.057.09c0 .01 0 .01-.01.02l-.038.09-.029.11v.03a.384.384 0 00-.01.12v8c0 .212.081.416.226.566a.75.75 0 001.087 0 .817.817 0 00.226-.566v-6.89l3.23 1.12a6.51 6.51 0 00-.923 3.37 6.6 6.6 0 00.77 3.097 6.303 6.303 0 002.115 2.323 9.318 9.318 0 00-4.471 3.74.837.837 0 00-.103.605.813.813 0 00.334.506.744.744 0 00.575.114.776.776 0 00.483-.345 7.817 7.817 0 012.78-2.674 7.458 7.458 0 013.67-.97 7.46 7.46 0 013.671.97 7.818 7.818 0 012.781 2.675c.07.11.166.201.279.264A.746.746 0 0017.2 20a.703.703 0 00.414-.13.81.81 0 00.334-.506.837.837 0 00-.103-.604 9.318 9.318 0 00-4.471-3.74 6.303 6.303 0 002.114-2.324 6.59 6.59 0 00.77-3.097 6.51 6.51 0 00-.923-3.37l4.24-1.47a.771.771 0 00.383-.291.822.822 0 000-.938.771.771 0 00-.383-.291zm-4.855 6.36a4.9 4.9 0 01-1.352 3.394 4.527 4.527 0 01-3.263 1.406 4.527 4.527 0 01-3.264-1.406 4.9 4.9 0 01-1.351-3.394 4.993 4.993 0 01.894-2.85l3.48 1.21a.741.741 0 00.481 0l3.48-1.21a4.99 4.99 0 01.895 2.85zm-.894-4.53h-.01l-3.711 1.29-3.712-1.29h-.01l-3.076-1.07 6.798-2.36 6.797 2.36-3.076 1.07z" })); } const ForwardRef = React.forwardRef(StudentIcon); export default ForwardRef;