Skip to content

Commit 1b08af1

Browse files
author
Eric Olkowski
committed
Remvoed role prop from interface
1 parent 3370c90 commit 1b08af1

File tree

1 file changed

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

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ export interface ButtonProps extends Omit<React.HTMLProps<HTMLButtonElement>, 'r
9595
innerRef?: React.Ref<any>;
9696
/** Adds count number to button */
9797
countOptions?: BadgeCountObject;
98-
/** @hide Sets the role of the button. Should only be used when the button is a descendant of a menu or tablist. */
99-
role?: string;
10098
/** Value to overwrite the randomly generated data-ouia-component-id.*/
10199
ouiaId?: number | string;
102100
/** 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)