Skip to content

Commit

Permalink
fix(action-popover-menu): investigate focusIndex and setFocusIndex pr…
Browse files Browse the repository at this point in the history
…ops on ActionPopoverMenu

marked focusIndes and setFocusIndex props as @Private and @internal
  • Loading branch information
mihai-albu-sage committed Oct 7, 2024
1 parent 1fa77a5 commit 6d9cb82
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d9cb82

Please sign in to comment.