MCPcopy Create free account
hub / github.com/flyfloor/react-component / getDefaultProps

Function getDefaultProps

component/Pagination.js:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 range: React.PropTypes.number,
13 },
14 getDefaultProps() {
15 return {
16 current: 1,
17 range: 7,
18 total: 30,
19 };
20 },
21 getInitialState() {
22 const {current} = this.props;
23 return { current };

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…