Skip to content

Commit

Permalink
ver. 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ahua52 committed Feb 21, 2017
1 parent af75527 commit 2d86c7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/Checkbox.js
Expand Up @@ -59,6 +59,10 @@ var Checkbox = function (_React$Component) {
return _this;
}

Checkbox.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProp) {
this.setState({ checked: nextProp.checked });
};

Checkbox.prototype.changeState = function changeState() {
var onChange = this.props.onChange;

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "bee-checkbox",
"version": "0.1.6",
"version": "0.1.7",
"description": "checkbox ui component for react",
"keywords": [
"react",
Expand Down

0 comments on commit 2d86c7a

Please sign in to comment.