(props)
| 6 | |
| 7 | class Icon extends Component { |
| 8 | constructor (props) { |
| 9 | super(props); |
| 10 | this.state = { |
| 11 | spin: props.spin |
| 12 | }; |
| 13 | } |
| 14 | |
| 15 | componentWillReceiveProps (nextProps) { |
| 16 | this.setState({ spin: nextProps.spin }); |
nothing calls this directly
no outgoing calls
no test coverage detected