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

Function constructor

src/Pagination.js:11–17  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

9
10class Pagination extends Component {
11 constructor (props) {
12 super(props);
13 this.state = {
14 index: props.index
15 };
16 this.setInput = this.setInput.bind(this);
17 }
18
19 componentWillReceiveProps (nextProps) {
20 if (nextProps.index !== this.props.index) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…