summaryrefslogtreecommitdiff
path: root/app/client/common/button.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-26 01:28:41 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-26 01:28:41 +0200
commit8d06839056967e8786c63976545aff098ae2f128 (patch)
tree51c83236b2dcc5a6adabb1b4036eccfff63b9ef5 /app/client/common/button.component.js
parentbd354556f98aa724dd6cee03a1828bd40ce01f33 (diff)
morph module.. enum method for sliders
Diffstat (limited to 'app/client/common/button.component.js')
-rw-r--r--app/client/common/button.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/button.component.js b/app/client/common/button.component.js
index 21aa5b6..65cd5f6 100644
--- a/app/client/common/button.component.js
+++ b/app/client/common/button.component.js
@@ -19,7 +19,7 @@ class Button extends Component {
<button
onClick={this.handleClick}
>
- {this.props.children}
+ {this.props.value || this.props.children}
</button>
</label>
</div>