@nexusui/icons
Version:
This package contains custom icons designed specifically for NexusUI applications. These icons work in exactly the same way as the icons from [MUI](https://mui.com/material-ui/api/svg-icon/).
35 lines (28 loc) • 1.4 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var jsxRuntime = require('react/jsx-runtime');
var React = require('react');
var utils = require('@mui/material/utils');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () { return e[k]; }
});
}
});
}
n["default"] = e;
return Object.freeze(n);
}
var React__namespace = /*#__PURE__*/_interopNamespace(React);
const SvgHexagon = utils.createSvgIcon(React__namespace.createElement(React__namespace.Fragment, {}, jsxRuntime.jsx("mask", { id: "a", width: 24, height: 24, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
maskType: 'alpha',
}, children: jsxRuntime.jsx("path", { d: "M0 0h24v24H0z" }) }), jsxRuntime.jsx("g", { mask: "url(#a)", children: jsxRuntime.jsx("path", { fillRule: "evenodd", d: "M8.621 4.5 4.5 8.621v6.758L8.621 19.5h6.758l4.121-4.121V8.62L15.379 4.5H8.62ZM16 3H8L3 8v8l5 5h8l5-5V8l-5-5Z", clipRule: "evenodd" }) })), 'SvgHexagon');
const Memo = React.memo(SvgHexagon);
exports["default"] = Memo;