bvaughn / react-virtualized-auto-sizer

Standalone version of the AutoSizer component from react-virtualized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add documentation about usage

kumar303 opened this issue · comments

It would be helpful if this readme documented what props AutoSizer takes and showed a brief example of usage.

Not disagreeing that it'd be helpful for easier adoption, but found that the source is actually extremely clean and Flow/TS annotations are very well defined. There's basically just one component here. Props are starting @ line 11:

https://github.com/bvaughn/react-virtualized-auto-sizer/blob/master/src/index.js

Documentation has been copied over from react-virtualized to this README.