react-radio-group
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,4 @@ | ||
### 2.1.1 (August 17th 2015) | ||
- Allow `selectedValue`'s type to be a boolean. | ||
### 2.1.0 (July 26th 2015) | ||
@@ -2,0 +5,0 @@ - Library now no longer wraps your children function return with a `div`. It now checks that you return a single component (or `null`) from the function. #18 |
@@ -39,3 +39,3 @@ (function (global, factory) { | ||
name: _react.PropTypes.string, | ||
selectedValue: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number]), | ||
selectedValue: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number, _react.PropTypes.bool]), | ||
onChange: _react.PropTypes.func, | ||
@@ -42,0 +42,0 @@ children: _react.PropTypes.func.isRequired |
{ | ||
"name": "react-radio-group", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Better radio buttons.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -45,3 +45,3 @@ # [React](http://facebook.github.io/react/)-radio-group | ||
- `name: String`: what you'd normally put on the radio inputs themselves. | ||
- `selectedValue: String | Number`: the currently selected value. This will be used to compare against the values on the `Radio` components to select the right one. | ||
- `selectedValue: String | Number | Boolean`: the currently selected value. This will be used to compare against the values on the `Radio` components to select the right one. | ||
- `onChange: Function`: will be passed the newly selected value. | ||
@@ -48,0 +48,0 @@ - `children: Function`: will be passed a `Radio` component (a thin wrapper around `input`) some fields like `type`, `name` and `checked` already set. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7521