MCPcopy Index your code
hub / github.com/flyfloor/react-component / getDefaultProps

Function getDefaultProps

component/DropDown.js:33–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 },
32
33 getDefaultProps() {
34 return {
35 labelName: 'name',
36 valueName: 'value',
37 multi: false,
38 className: '',
39 placeHolder: 'click to select...',
40 };
41 },
42
43 componentDidMount() {
44 const {multi, defaultSelected, valueName} = this.props;

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…