Skip to content

Commit b3393e9

Browse files
author
Eric Olkowski
committed
fix(MenuItemAction): updated aria-label prop to be required
1 parent ba3bffd commit b3393e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Menu/MenuItemAction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface MenuItemActionProps extends Omit<React.HTMLProps<HTMLButtonElem
1212
/** Callback on action click, can also specify onActionClick on the Menu instead */
1313
onClick?: (event?: any) => void;
1414
/** Accessibility label */
15-
'aria-label'?: string;
15+
'aria-label': string;
1616
/** Flag indicating if the item is favorited */
1717
isFavorited?: boolean;
1818
/** Disables action, can also be specified on the MenuItem instead */

0 commit comments

Comments
 (0)