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

Function if

component/Calender.js:189–191  ·  view source on GitHub ↗
(i < index)

Source from the content-addressed store, hash-verified

187
188 for(let i = 0; i < dateCount + index; i ++){
189 if (i < index) {
190 matrixNodes[0].push(<td key={`canlender-col-${i}`}></td>);
191 } else {
192 const _index = i - index + 1;
193 const row = Math.floor(i / 7);
194 const itemDateStr = obj2DateStr(year, month, _index);

Callers 3

Menu.jsFile · 0.85
Modal.jsFile · 0.85
renderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected