const Example = () => {
+ const outerListRef = useRef(undefined)
+ const innerListRef = useRef(undefined)
//.. rest hidden for brevity
return (
<div onKeyDown={handleKeyDown} tabIndex="0" style={{ width: '151px' }}>
<List
+ outerRef={outerListRef}
+ innerRef={innerListRef}
className="List"
height={listHeight}
itemCount={1000}
itemSize={35}
useIsScrolling
width={300}
>
{Row}
</List>
</div>
)
}
Last active
May 8, 2019 01:50
-
-
Save dance2die/831038fd5f895b0685fcce7fd8bf3bd0 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment