New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rb-component

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rb-component - npm Package Compare versions

Comparing version 0.2.20 to 0.2.21

10

lib/rb-checkbox-group/component.js

@@ -114,3 +114,3 @@ 'use strict';

}),
'全部'
this.props.allLabel()
)

@@ -175,3 +175,4 @@ );

itemRef: _react2.default.PropTypes.func,
contentRef: _react2.default.PropTypes.func
contentRef: _react2.default.PropTypes.func,
allLabel: _react2.default.PropTypes.func
};

@@ -186,4 +187,7 @@ CheckboxGroup.defaultProps = {

defaultCheckedValues: [],
label: ''
label: '',
allLabel: function allLabel() {
return '全部';
}
};
exports.default = CheckboxGroup;

@@ -97,3 +97,3 @@ 'use strict';

}),
'全部'
this.props.allLabel()
)

@@ -152,8 +152,12 @@ );

items: _react2.default.PropTypes.array.isRequired,
onChange: _react2.default.PropTypes.func.isRequired
onChange: _react2.default.PropTypes.func.isRequired,
allLabel: _react2.default.PropTypes.func
};
RBRadioGroup.defaultProps = {
checkAll: false
checkAll: false,
allLabel: function allLabel() {
return '全部';
}
};
exports.default = RBRadioGroup;
exports.RBRadioGroup = RBRadioGroup;
{
"name": "rb-component",
"version": "0.2.20",
"version": "0.2.21",
"description": "components built with React",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc