@muraldevkit/ui-toolkit 2.37.0 → 2.38.0
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.
|
@@ -16,6 +16,8 @@ interface MrlMenuItemProps {
|
|
|
16
16
|
id?: string;
|
|
17
17
|
/** Callback to be called when the menu item is clicked */
|
|
18
18
|
onClick: (e: React.MouseEvent<HTMLElement>) => void;
|
|
19
|
+
/** Callback to be called when the menu item is hovered */
|
|
20
|
+
onHover?: (e?: React.MouseEvent) => void;
|
|
19
21
|
/** Data-qa attribute for the menu item */
|
|
20
22
|
dataQa?: string;
|
|
21
23
|
/** If the menu item is selected */
|
|
@@ -29,5 +31,5 @@ interface MrlMenuItemProps {
|
|
|
29
31
|
* @param {MrlMenuItemProps} props - The props for the MrlMenuItem component
|
|
30
32
|
* @returns {Element} - rendered MrlMenuItem component
|
|
31
33
|
*/
|
|
32
|
-
export declare function MrlMenuItem({ ariaDescribedBy, children, className, dataQa, disabled, icon, id, onClick, selected }: MrlMenuItemProps): JSX.Element;
|
|
34
|
+
export declare function MrlMenuItem({ ariaDescribedBy, children, className, dataQa, disabled, icon, id, onClick, onHover, selected }: MrlMenuItemProps): JSX.Element;
|
|
33
35
|
export {};
|