Render prop for content in an AutoSizer
Function renders content and forwards width and height to whatever needs it.
width
height
const autoSizeRender: AutoSizeRender = ({width, height}) => ( <VirtualList width={width} height={height} {...props} />) Copy
const autoSizeRender: AutoSizeRender = ({width, height}) => ( <VirtualList width={width} height={height} {...props} />)
Render prop for content in an AutoSizer
Function renders content and forwards
width
andheight
to whatever needs it.