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

Function getInitialState

component/Calender.js:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7const Calender = React.createClass({
8 getInitialState() {
9 const {year, month, day, value} = this.initDate();
10 return {year, month, day, value, showYear: false, showMonth: false}
11 },
12
13 getDefaultProps() {
14 return {

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…