Skip to content

Instantly share code, notes, and snippets.

@sueLan
Created March 5, 2020 13:33
Show Gist options
  • Save sueLan/584abd9884f3a6ab994e6c7720c042fb to your computer and use it in GitHub Desktop.
Save sueLan/584abd9884f3a6ab994e6c7720c042fb to your computer and use it in GitHub Desktop.
// The map storing the cell layout info
{ [cellKey]: {
// offset of the item cell
offset: number,
// length of the item cell. width or height determined by the direction of the VirtualizedList
length: number,
index: number,
inLayout: boolean,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment