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

Function getInitialState

component/DatePicker.js:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 },
18
19 getInitialState() {
20 const value = this.initDate();
21 return { value, showPicker: false };
22 },
23
24 initDate(defaultValue=this.props.value){
25 const {year, month, day} = dateStr2Obj(defaultValue, this.dateParams());

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…