UNPKG

@guruhotel/aura-icons

Version:

🎨 Icon library designed by the Guruhotel team for Aura UI

40 lines (39 loc) • 3.06 kB
"use strict"; exports.__esModule = true; exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _accessibleIcon = require("../accessible-icon"); var _styles = require("../styles"); var _jsxRuntime = require("react/jsx-runtime"); function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } const StyledGrid2Solid = ({ label, color = "#000000", className = "", css = {}, viewBox = "0 0 24 24" }, ref) => { return /*#__PURE__*/(0, _jsxRuntime.jsx)(_accessibleIcon.AccessibleIcon, { label: label, children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledSvg, { className: className, css: css, viewBox: viewBox, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: ref, children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledPath, { css: { fill: `${color}` }, d: "M10.2857 7.71429C10.2857 9.13393 9.13393 10.2857 7.71429 10.2857H2.57143C1.15125 10.2857 0 9.13393 0 7.71429V2.57143C0 1.15125 1.15125 0 2.57143 0H7.71429C9.13393 0 10.2857 1.15125 10.2857 2.57143V7.71429ZM10.2857 21.4286C10.2857 22.8482 9.13393 24 7.71429 24H2.57143C1.15125 24 0 22.8482 0 21.4286V16.2857C0 14.8661 1.15125 13.7143 2.57143 13.7143H7.71429C9.13393 13.7143 10.2857 14.8661 10.2857 16.2857V21.4286ZM13.7143 2.57143C13.7143 1.15125 14.8661 0 16.2857 0H21.4286C22.8482 0 24 1.15125 24 2.57143V7.71429C24 9.13393 22.8482 10.2857 21.4286 10.2857H16.2857C14.8661 10.2857 13.7143 9.13393 13.7143 7.71429V2.57143ZM24 21.4286C24 22.8482 22.8482 24 21.4286 24H16.2857C14.8661 24 13.7143 22.8482 13.7143 21.4286V16.2857C13.7143 14.8661 14.8661 13.7143 16.2857 13.7143H21.4286C22.8482 13.7143 24 14.8661 24 16.2857V21.4286Z" }) }) }); }; const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledGrid2Solid); const Grid2Solid = /*#__PURE__*/(0, _react.memo)(ForwardRef); var _default = Grid2Solid; exports.default = _default; module.exports = exports.default;