Skip to content

Commit

Permalink
Merge pull request #7002 from Sage/FE-6211
Browse files Browse the repository at this point in the history
fix(action-popover-menu): investigate focusIndex and setFocusIndex props on ActionPopoverMenu
  • Loading branch information
mihai-albu-sage authored Oct 14, 2024
2 parents de26679 + 673ca62 commit 4392890
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 4392890

Please sign in to comment.