Skip to content

Commit 3dadc39

Browse files
author
Eric Olkowski
committed
Update role type
1 parent 22fb583 commit 3dadc39

File tree

1 file changed

+1
-1
lines changed
  • packages/react-core/src/components/Button

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface ButtonProps extends Omit<React.HTMLProps<HTMLButtonElement>, 'r
9696
/** Adds count number to button */
9797
countOptions?: BadgeCountObject;
9898
/** @hide Sets the role of the button. Should only be used when the button is a descendant of a menu or tablist. */
99-
role?: 'menuitem' | 'tab';
99+
role?: string;
100100
/** Value to overwrite the randomly generated data-ouia-component-id.*/
101101
ouiaId?: number | string;
102102
/** Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. */

0 commit comments

Comments
 (0)