bvaughn / react-window

React components for efficiently rendering large lists and tabular data
https://react-window.now.sh/
MIT License
15.54k stars 779 forks source link

WIP: add before/after slot hook for List and Grid components #709

Closed iahu closed 1 year ago

iahu commented 1 year ago

Hi, I could like to add two render hooks, which is before and after, to been able to render elements before or after the inner element.

the use case I can give is, that render a cursor element that can scroll beside with the inner element.

and there is a feature request about this MR.

thanks.

iahu commented 1 year ago

close it, as I find that, the outerElementType api can be used as a custom render function.