react-native-section-alphabet-list
react-native-section-alphabet-list copied to clipboard
how does getItemHeight work?
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={44}
same issue on #65