(props)
| 22 | |
| 23 | class RadioGroup extends Component { |
| 24 | constructor (props) { |
| 25 | super(props); |
| 26 | this.state = { |
| 27 | value: transformValue(props.value), |
| 28 | data: this.formatData(props.data) |
| 29 | }; |
| 30 | this.handleChange = this.handleChange.bind(this); |
| 31 | } |
| 32 | |
| 33 | componentWillReceiveProps (nextProps) { |
| 34 | if (nextProps.value !== this.props.value) { |
nothing calls this directly
no test coverage detected