summaryrefslogtreecommitdiff
path: root/frontend/common/form.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-06 23:09:53 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-06 23:09:53 +0200
commitc32c72c3f4640ede867907b4c8de8811a508a6c3 (patch)
tree5b49f42a1fd3a780f729f0366713e23abf3fc28b /frontend/common/form.component.js
parentf2aaff6cac773e6f1b7158ea05b546b1799aecb3 (diff)
tiling styles
Diffstat (limited to 'frontend/common/form.component.js')
-rw-r--r--frontend/common/form.component.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/common/form.component.js b/frontend/common/form.component.js
index 4f52a5e..fb5b26d 100644
--- a/frontend/common/form.component.js
+++ b/frontend/common/form.component.js
@@ -188,6 +188,9 @@ export class FileInput extends Component {
export const SubmitButton = (props) => (
<label>
<span></span>
- <button className="submit" onClick={props.onClick}>{props.title}</button>
+ <button
+ className={props.className ? "submit " + props.className : "submit"}
+ onClick={props.onClick}
+ >{props.title}</button>
</label>
)