diff options
author | Emiliano Ciavatta | 2020-10-09 15:07:24 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2020-10-09 15:07:24 +0000 |
commit | c21541a31fe45ba3a0bafca46415247f3837713e (patch) | |
tree | 9581c6a2801556d602099a64840909a451e61ffd /frontend/src/components/fields/ButtonField.js | |
parent | d203f3c7e3bcaa20895c0f32f348cd1513ae9876 (diff) |
Add MainPane
Diffstat (limited to 'frontend/src/components/fields/ButtonField.js')
-rw-r--r-- | frontend/src/components/fields/ButtonField.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/fields/ButtonField.js b/frontend/src/components/fields/ButtonField.js index ffcceae..193339c 100644 --- a/frontend/src/components/fields/ButtonField.js +++ b/frontend/src/components/fields/ButtonField.js @@ -55,8 +55,8 @@ class ButtonField extends Component { } return ( - <div className={classNames( "field", "button-field", {"field-small": this.props.small})}> - <button type="button" className={classNames(classNames(buttonClassnames))} + <div className={classNames("field", "button-field", {"field-small": this.props.small})}> + <button type="button" className={classNames(buttonClassnames)} onClick={handler} style={buttonStyle}>{this.props.name}</button> </div> ); |