add a class to remove evil blue outlines

pull/21833/head
Matthew Hodgson 2017-04-15 00:30:48 +01:00
parent 617e1eede3
commit 1189368aab
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ export default function AccessibleButton(props) {
};
restProps.tabIndex = restProps.tabIndex || "0";
restProps.role = "button";
restProps.className = (restProps.className ? restProps.className + " " : "") +
"mx_AccessibleButton";
return React.createElement(element, restProps, children);
}