From 6d9cb82f3b0ff5f7fd3f5865c98b80455d3b81ba Mon Sep 17 00:00:00 2001 From: Mihai Albu Date: Mon, 7 Oct 2024 07:58:41 +0000 Subject: [PATCH] fix(action-popover-menu): investigate focusIndex and setFocusIndex props on ActionPopoverMenu marked focusIndes and setFocusIndex props as @private and @internal --- .../action-popover-menu.component.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/action-popover/action-popover-menu/action-popover-menu.component.tsx b/src/components/action-popover/action-popover-menu/action-popover-menu.component.tsx index 76616105de..36abe6021a 100644 --- a/src/components/action-popover/action-popover-menu/action-popover-menu.component.tsx +++ b/src/components/action-popover/action-popover-menu/action-popover-menu.component.tsx @@ -20,13 +20,21 @@ import ActionPopoverContext, { export interface ActionPopoverMenuBaseProps { /** Children for the menu */ children?: React.ReactNode; - /** Index to control which item is focused */ + /** + * @ignore + * @private + * @internal + * Index to control which item is focused */ focusIndex?: number; /** Flag to indicate whether a menu should open */ isOpen?: boolean; /** A unique ID for the menu */ menuID?: string; - /** Callback to set the index of the focused item */ + /** + * @ignore + * @private + * @internal + * Callback to set the index of the focused item */ setFocusIndex?: (args: number) => void; /** Callback to set the isOpen flag */ setOpen?: (args: boolean) => void;