grep-components 1.17.0 → 1.18.0-grepf-1852.2

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.
@@ -4,6 +4,7 @@ export declare type UserMenuItem = {
4
4
  action?: () => void;
5
5
  isAnchor?: boolean;
6
6
  href?: string;
7
+ onClick?: (e: any) => void;
7
8
  };
8
9
  export interface IAuthorizedPage {
9
10
  name: string;
package/dist/index.js CHANGED
@@ -22094,7 +22094,7 @@ var AppBar = function (_a) {
22094
22094
  } }, i.isAnchor ? (React.createElement("a", { style: {
22095
22095
  textDecoration: 'inherit',
22096
22096
  color: 'inherit',
22097
- }, rel: "noreferrer", href: i.href }, i.label)) : (i.label)),
22097
+ }, rel: "noreferrer", href: i.href, onClick: i.onClick }, i.label)) : (i.label)),
22098
22098
  userMenuItems.length > index + 1 && React.createElement(Divider$1, null)));
22099
22099
  })))),
22100
22100
  React.createElement(ToolbarMenu, null,