Open pierroo opened 1 year ago
Can we have an example of how getItemHeight works? the doc feels unclear to me;
if my section header is 44px and each of my list items are 40px
what should I put in getItemHeight ?
Yes, the doc is unclear. You can return the number like this:
getItemHeight={() => 40}
also set the sectionHeaderHeight:
sectionHeaderHeight
sectionHeaderHeight={44}
same issue on #65
Can we have an example of how getItemHeight works? the doc feels unclear to me;
if my section header is 44px and each of my list items are 40px
what should I put in getItemHeight ?