mirror of https://github.com/vector-im/riot-web
Fix AccessibleButton defaultProps to match its types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
3b5a02d804
commit
efd0bd3d00
|
@ -118,7 +118,7 @@ export default function AccessibleButton({
|
||||||
AccessibleButton.defaultProps = {
|
AccessibleButton.defaultProps = {
|
||||||
element: 'div',
|
element: 'div',
|
||||||
role: 'button',
|
role: 'button',
|
||||||
tabIndex: "0",
|
tabIndex: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
AccessibleButton.displayName = "AccessibleButton";
|
AccessibleButton.displayName = "AccessibleButton";
|
||||||
|
|
Loading…
Reference in New Issue