Fix AccessibleButton defaultProps to match its types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-07-17 18:15:44 +01:00
parent 3b5a02d804
commit efd0bd3d00
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ export default function AccessibleButton({
AccessibleButton.defaultProps = {
element: 'div',
role: 'button',
tabIndex: "0",
tabIndex: 0,
};
AccessibleButton.displayName = "AccessibleButton";