react-virtualized-auto-sizer
v2.0.2
Published
<img src="https://react-virtualized-auto-sizer.vercel.app/og.svg" alt="react-virtualized-auto-sizer logo" width="400" height="210" />
Maintainers
Readme
react-virtualized-auto-sizer: Measures the available width and height of an HTMLElement and passes those values as props to a Child component. Refer to the docs for usage examples.
[!NOTE] This package began as a fork of the
AutoSizercomponent from react-virtualized, and was intended for use with earlier versions of react-window. More recent versions ofreact-windowuseResizeObservernatively and do not require this package.
If you like this project, 🎉 become a sponsor or ☕ buy me a coffee
Install
npm install --save react-virtualized-auto-sizerFAQs
Frequently asked questions can be found here.
Documentation
AutoSizer
Measures the available width and height of its parent HTMLElement and passes those values as width and height props to its children.
ℹ️ This component began as a fork of the javascript-detect-element-resize package.
Required props
None
