@hexure/ui 1.13.87 → 1.13.88

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.
@@ -5,6 +5,7 @@ export interface MenuItemProps extends AccessibleProps {
5
5
  label?: string;
6
6
  onClick: (e?: any) => void;
7
7
  disabled?: boolean;
8
+ className?: string;
8
9
  }
9
10
  export interface MoreMenuProps extends AccessibleProps {
10
11
  menuItems: MenuItemProps[];
package/dist/esm/index.js CHANGED
@@ -3456,7 +3456,7 @@ const MoreMenu = (_a) => {
3456
3456
  return (React.createElement(Wrapper$c, Object.assign({ "$maxHeight": maxHeight }, accessibleProps, { "data-itemid": `${baseId}-wrapper` }), menuItems.map((item, i) => {
3457
3457
  var _a;
3458
3458
  const itemId = `${baseId}`;
3459
- return (React.createElement(MenuItem, { "data-itemid": `${itemId}-menu-item`, key: i, onClick: item.onClick },
3459
+ return (React.createElement(MenuItem, { className: item === null || item === void 0 ? void 0 : item.className, "data-itemid": `${itemId}-menu-item`, key: i, onClick: item.onClick },
3460
3460
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, "data-itemid": `${itemId}-icon`, path: item.icon, size: '20px' })) : null,
3461
3461
  React.createElement(Title$1, { "data-itemid": `${itemId}-title`, disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false }, item.label)));
3462
3462
  })));