React-window: Add ability to pass props to the inner element

Created on 22 Jan 2020  ·  3Comments  ·  Source: bvaughn/react-window

Would the maintainers be open to adding a new prop to the component APIs that allows one to pass props to the element created from the innerElementType props?

Currently one is able to pass props to the outer element type by just passing top-level props. It's not possible to do so for the inner element type, though.

Most helpful comment

React's Context API can be used to share values with the inner element.

All 3 comments

React's Context API can be used to share values with the inner element.

@bvaughn, that's a good point.

Thanks for being understanding! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivan-badmaev picture ivan-badmaev  ·  3Comments

vinnymac picture vinnymac  ·  3Comments

marian-c picture marian-c  ·  3Comments

delateurj picture delateurj  ·  3Comments

bitboxer picture bitboxer  ·  3Comments