MCPcopy Create free account
hub / github.com/Lobos/react-ui / componentWillReceiveProps

Method componentWillReceiveProps

src/Icon.js:15–17  ·  view source on GitHub ↗
(nextProps)

Source from the content-addressed store, hash-verified

13 }
14
15 componentWillReceiveProps (nextProps) {
16 this.setState({ spin: nextProps.spin });
17 }
18
19 render () {
20 let classes = [`${prefix}`];

Callers 1

react.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected