Skip to content

List docs use rowIndex in example rowRenderer #402

@IanVS

Description

@IanVS

The List example in the docs uses the proposed-but-not-implemented rowIndex:

function rowRenderer ({ key, rowIndex, style}) {
  return (
    <div
      key={key}
      style={style}
    >
      {list[rowIndex]}
    </div>
  )
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions