Skip to content

Commit

Permalink
fix(MenuItemButton): fix type for kind (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi authored Jan 7, 2024
1 parent 2a5635b commit 96b9bc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Menu/MenuItemButton/MenuItemButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React, { FC, useRef } from "react";
import { ComponentDefaultTestId, getTestId } from "../../../tests/test-ids-utils";
import Button from "../../Button/Button";
import Tooltip from "../../Tooltip/Tooltip";
import { ButtonType } from "../../Button/ButtonConstants";
import useMergeRef from "../../../hooks/useMergeRef";
import useMenuItemMouseEvents from "../MenuItem/hooks/useMenuItemMouseEvents";
import useMenuItemKeyboardEvents from "../MenuItem/hooks/useMenuItemKeyboardEvents";
Expand All @@ -18,7 +19,7 @@ interface MenuItemButtonProps extends VibeComponentProps {
* @deprecated - use className instead
*/
classname?: string;
kind?: (typeof MenuItemButton.kinds)[keyof typeof MenuItemButton.kinds];
kind?: ButtonType;
leftIcon?: SubIcon;
rightIcon?: SubIcon;
index?: number;
Expand Down

0 comments on commit 96b9bc0

Please sign in to comment.