diff options
Diffstat (limited to 'frontend/common/form.component.js')
| -rw-r--r-- | frontend/common/form.component.js | 5 |
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> ) |
