add a class to remove evil blue outlines
parent
617e1eede3
commit
1189368aab
|
@ -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…
Reference in New Issue