From 3de06b375238a6ea3cfb9b2642c042cc62c54566 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 26 Jun 2024 17:13:40 +0200 Subject: [PATCH] chore: use actionButtonClassName for prop name --- .../src/components/item-action-controls.tsx | 6 +++--- .../compass-connections-navigation/src/navigation-item.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/compass-components/src/components/item-action-controls.tsx b/packages/compass-components/src/components/item-action-controls.tsx index dc40159d416..bee0265b80e 100644 --- a/packages/compass-components/src/components/item-action-controls.tsx +++ b/packages/compass-components/src/components/item-action-controls.tsx @@ -28,7 +28,7 @@ export type ItemAction = { isDisabled?: boolean; disabledDescription?: string; tooltip?: string; - actionBtnClassName?: string; + actionButtonClassName?: string; }; export type ItemSeparator = { separator: true }; @@ -342,7 +342,7 @@ export function ItemActionGroup({ isDisabled, tooltip, tooltipProps, - actionBtnClassName, + actionButtonClassName, } = menuItem; const button = ( ({ className={cx( actionGroupButtonStyle, iconClassName, - actionBtnClassName + actionButtonClassName )} style={iconStyle} disabled={isDisabled} diff --git a/packages/compass-connections-navigation/src/navigation-item.tsx b/packages/compass-connections-navigation/src/navigation-item.tsx index 33ef9cd73d3..71da913911f 100644 --- a/packages/compass-connections-navigation/src/navigation-item.tsx +++ b/packages/compass-connections-navigation/src/navigation-item.tsx @@ -188,7 +188,7 @@ export function NavigationItem({ label: 'Non-Genuine MongoDB', tooltip: 'Non-Genuine MongoDB detected', icon: 'Warning', - actionBtnClassName: nonGenuineBtnStyles, + actionButtonClassName: nonGenuineBtnStyles, }); } @@ -198,7 +198,7 @@ export function NavigationItem({ label: 'In-Use Encryption', tooltip: 'Configure In-Use Encryption', icon: 'Key', - actionBtnClassName: csfleBtnStyles, + actionButtonClassName: csfleBtnStyles, }); }