Skip to content

Commit

Permalink
chore: use actionButtonClassName for prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshusinghs committed Jun 26, 2024
1 parent f19b0aa commit 3de06b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export type ItemAction<Action extends string> = {
isDisabled?: boolean;
disabledDescription?: string;
tooltip?: string;
actionBtnClassName?: string;
actionButtonClassName?: string;
};

export type ItemSeparator = { separator: true };
Expand Down Expand Up @@ -342,7 +342,7 @@ export function ItemActionGroup<Action extends string>({
isDisabled,
tooltip,
tooltipProps,
actionBtnClassName,
actionButtonClassName,
} = menuItem;
const button = (
<ItemActionButton
Expand All @@ -357,7 +357,7 @@ export function ItemActionGroup<Action extends string>({
className={cx(
actionGroupButtonStyle,
iconClassName,
actionBtnClassName
actionButtonClassName
)}
style={iconStyle}
disabled={isDisabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function NavigationItem({
label: 'Non-Genuine MongoDB',
tooltip: 'Non-Genuine MongoDB detected',
icon: 'Warning',
actionBtnClassName: nonGenuineBtnStyles,
actionButtonClassName: nonGenuineBtnStyles,
});
}

Expand All @@ -198,7 +198,7 @@ export function NavigationItem({
label: 'In-Use Encryption',
tooltip: 'Configure In-Use Encryption',
icon: 'Key',
actionBtnClassName: csfleBtnStyles,
actionButtonClassName: csfleBtnStyles,
});
}

Expand Down

0 comments on commit 3de06b3

Please sign in to comment.