aefis-core-ui 2.3.0-rc31 → 2.3.0-rc32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1795,7 +1795,8 @@ const MenuButton = /*#__PURE__*/forwardRef(function MenuButton(_ref, ref) {
|
|
|
1795
1795
|
displayType,
|
|
1796
1796
|
variant,
|
|
1797
1797
|
onClick,
|
|
1798
|
-
link
|
|
1798
|
+
link,
|
|
1799
|
+
data
|
|
1799
1800
|
} = _ref,
|
|
1800
1801
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
1801
1802
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
@@ -1864,7 +1865,7 @@ const MenuButton = /*#__PURE__*/forwardRef(function MenuButton(_ref, ref) {
|
|
|
1864
1865
|
"aria-labelledby": buttonId
|
|
1865
1866
|
},
|
|
1866
1867
|
children: menuConfiguration == null ? void 0 : menuConfiguration.map((item, index) => /*#__PURE__*/jsxs(MenuItem, {
|
|
1867
|
-
onClick:
|
|
1868
|
+
onClick: () => handleMenuClick(item.onClick, data),
|
|
1868
1869
|
sx: {
|
|
1869
1870
|
borderTop: item.divider ? "1px solid #dddddd" : "none",
|
|
1870
1871
|
marginTop: item.divider ? 1 : "inherit",
|