MCPcopy Create free account
hub / github.com/bvaughn/react-window / CellComponent

Function CellComponent

lib/hydration.test.tsx:26–37  ·  view source on GitHub ↗
({
  ariaAttributes,
  columnIndex,
  rowIndex,
  style
}: CellComponentProps)

Source from the content-addressed store, hash-verified

24}
25
26function CellComponent({
27 ariaAttributes,
28 columnIndex,
29 rowIndex,
30 style
31}: CellComponentProps) {
32 return (
33 <div {...ariaAttributes} style={style}>
34 Cell {rowIndex},{columnIndex}
35 </div>
36 );
37}
38
39// Rows aren't required to spread ariaAttributes (which identify them as rows)
40function RowComponentWithoutAriaAttributes({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected