MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / render

Method render

examples/00 Chessboard/Tutorial App/Board.js:36–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 render() {
37 const squares = [];
38 for (let i = 0; i < 64; i += 1) {
39 squares.push(this.renderSquare(i));
40 }
41
42 return (
43 <div className="Board">
44 {squares}
45 </div>
46 );
47 }
48}

Callers

nothing calls this directly

Calls 1

renderSquareMethod · 0.95

Tested by

no test coverage detected