UNPKG

@datalayer/icons-react

Version:

React.js and JupyterLab icons for data products.

34 lines (32 loc) 2.23 kB
import * as React from "react"; const sizeMap = { "small": 16, "medium": 32, "large": 64 }; function OrganisationIcon({ 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: "M5.208 10a.625.625 0 100 1.25h.417a.625.625 0 000-1.25h-.417zm-.625-2.292a.625.625 0 01.625-.625h.417a.625.625 0 010 1.25h-.417a.625.625 0 01-.625-.625zm.625-3.541a.625.625 0 000 1.25h.417a.625.625 0 100-1.25h-.417zM7.5 10.625A.625.625 0 018.125 10h.417a.625.625 0 110 1.25h-.417a.625.625 0 01-.625-.625zm.625-3.542a.625.625 0 000 1.25h.417a.625.625 0 000-1.25h-.417zM7.5 4.792a.625.625 0 01.625-.625h.417a.625.625 0 010 1.25h-.417a.625.625 0 01-.625-.625zM11.042 10a.625.625 0 100 1.25h.416a.625.625 0 000-1.25h-.416zm-.625-2.292a.625.625 0 01.625-.625h.416a.625.625 0 110 1.25h-.416a.625.625 0 01-.625-.625zm.625-3.541a.625.625 0 100 1.25h.416a.625.625 0 100-1.25h-.416z" }), /*#__PURE__*/React.createElement("path", { fillRule: "evenodd", d: "M1.667 16.667a1.667 1.667 0 001.666 1.666h3.125a.625.625 0 00.625-.625v-1.875h2.5v1.875c0 .345.28.625.625.625h3.125c.077 0 .153-.005.227-.015.045.01.092.015.138.015h2.969a1.667 1.667 0 001.666-1.666V10a1.667 1.667 0 00-.666-1.333l-.417-.313a.625.625 0 00-.75 1l.417.313a.417.417 0 01.166.333v6.667a.417.417 0 01-.416.416h-1.72a1.63 1.63 0 00.053-.416V2.5A1.667 1.667 0 0013.333.833h-10A1.667 1.667 0 001.667 2.5v14.167zm1.666.416a.417.417 0 01-.416-.416V2.5a.417.417 0 01.416-.417h10a.417.417 0 01.417.417v14.167a.417.417 0 01-.417.416h-2.5v-1.875a.625.625 0 00-.625-.625h-3.75a.625.625 0 00-.625.625v1.875h-2.5z" })); } const ForwardRef = React.forwardRef(OrganisationIcon); export default ForwardRef;