clauderic / clauderic/react-sortable-hoc

index cannot be passed, using react-sortable-hoc with react-virtualized

Open
#389 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

I know `index` prop gets deliberately eaten by react-sortable hoc, and we have to pass it as other prop,
but in the case when `react-sortable-hoc` is used with `react-virtualised` as shown [here](https://github.com/bvaughn/react-virtualized/blob/master/docs/Table.md#rowrenderer)
it throws a propType error for index being `undefined` in `defaultRowRederer`

So is there no way to pass `index` to the `defaultTableRowRenderer` ??

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.