bvaughn / react-window

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

`_getItemStyle` public API #667

Closed kobiburnley closed 3 weeks ago

kobiburnley commented 2 years ago

When passing a custom innerElementType it is sometimes required to compute the item style the same as react-window does internally.

Currently _getItemStyle implies to be private (unlike scrollTo for example). Should it be public for covering such use-cases?