Skip to content

Instantly share code, notes, and snippets.

@dance2die
Created May 8, 2019 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dance2die/6a7e17fd60f77e2ba47ba4bb7fa599a5 to your computer and use it in GitHub Desktop.
Save dance2die/6a7e17fd60f77e2ba47ba4bb7fa599a5 to your computer and use it in GitHub Desktop.
const Example = () => {
  //.. rest hidden for brevity

  return (
+    <div onKeyDown={handleKeyDown} tabIndex="0" style={{ width: '151px' }}>
      <List
        className="List"
        height={listHeight}
        itemCount={1000}
        itemSize={35}
        useIsScrolling
        width={300}
      >
        {Row}
      </List>
+    </div>
  )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment