We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Item.onClick
1 parent 9874698 commit 3ff5d31Copy full SHA for 3ff5d31
pageMenu.ts
@@ -17,7 +17,7 @@ export type Item = {
17
/** the URL of an image which views on the left of the title */
18
image?: string;
19
/** the event listener which is executed when the menu item is clicked */
20
- onClick: (event: React.MouseEvent<HTMLImageElement>) => void;
+ onClick: (event: React.MouseEvent<HTMLAnchorElement>) => void;
21
};
22
23
export declare class PageMenu extends BaseStore {
0 commit comments