Port from react-virtualized-auto-sizer - High-order component that automatically adjusts the width and height of a single child.
npm install svelte-virtualized-auto-sizer> Svelte port of the AutoSizer component from react-virtualized.
High-order component that automatically adjusts the width and height of a single child. Read more about this component in my blog

``bash`
npm install --save-dev svelte-virtualized-auto-sizer
Please see API documentation of "AutoSizer" in react-virtualized package here.
On the props style and children are removed, since these are React-specific.
Instead, use slot props:
`html
style={"width:"+childWidth+"px;height:"+childHeight+"px;"}
>Test
``