mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
fix lint
This commit is contained in:
parent
8cb362002b
commit
0dfb0f5468
@ -20,7 +20,8 @@ import AccessibleButton from "./AccessibleButton";
|
||||
export default function FormButton(props) {
|
||||
const {className, label, kind, ...restProps} = props;
|
||||
const newClassName = (className || "") + " mx_FormButton";
|
||||
const allProps = Object.assign({}, restProps, {className: newClassName, kind: kind || "primary", children: [label]});
|
||||
const allProps = Object.assign({}, restProps,
|
||||
{className: newClassName, kind: kind || "primary", children: [label]});
|
||||
return React.createElement(AccessibleButton, allProps);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user