add a class to remove evil blue outlines
This commit is contained in:
parent
617e1eede3
commit
1189368aab
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ export default function AccessibleButton(props) {
|
||||||
};
|
};
|
||||||
restProps.tabIndex = restProps.tabIndex || "0";
|
restProps.tabIndex = restProps.tabIndex || "0";
|
||||||
restProps.role = "button";
|
restProps.role = "button";
|
||||||
|
restProps.className = (restProps.className ? restProps.className + " " : "") +
|
||||||
|
"mx_AccessibleButton";
|
||||||
return React.createElement(element, restProps, children);
|
return React.createElement(element, restProps, children);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue