MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / cellRenderer

Function cellRenderer

lib/components/MultiGrid/MultiGrid.test.tsx:689–697  ·  view source on GitHub ↗
({
        columnIndex,
        key,
        parent,
        rowIndex
      }: CellRendererParams)

Source from the content-addressed store, hash-verified

687 it("should specify itself as the :parent for the cells of all quadrants", () => {
688 const parents = new Map<string, unknown>();
689 function cellRenderer({
690 columnIndex,
691 key,
692 parent,
693 rowIndex
694 }: CellRendererParams) {
695 parents.set(`${rowIndex}-${columnIndex}`, parent);
696 return <div key={key} style={{}} />;
697 }
698
699 const rendered = render(
700 getMarkup({

Callers 1

MultiGrid.tsxFile · 0.70

Calls 2

getColumnWidthFunction · 0.70
setMethod · 0.65

Tested by

no test coverage detected