(props)
| 14 | |
| 15 | class Rating extends Component { |
| 16 | constructor (props) { |
| 17 | super(props); |
| 18 | this.state = { |
| 19 | value: props.value, |
| 20 | hover: 0, |
| 21 | wink: false |
| 22 | }; |
| 23 | this.handleLeave = this.handleLeave.bind(this); |
| 24 | } |
| 25 | |
| 26 | componentWillReceiveProps (nextProps) { |
| 27 | if (nextProps.value !== this.props.value) { |
nothing calls this directly
no outgoing calls
no test coverage detected