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

Function getDefaultProps

component/CheckBoxGroup.js:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 return { value, options };
9 },
10 getDefaultProps() {
11 return {
12 value: [],
13 labelName: 'name',
14 valueName: 'value',
15 options: [],
16 };
17 },
18 propTypes: {
19 vaule: React.PropTypes.string,
20 options: React.PropTypes.array,

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…