Closed iKrushYou closed 4 years ago
Hey @iKrushYou, the keyExtractor
is a prop of FlatList
itself, not this library, so I don't think it needs to be added to the docs. If you want you can add a note underneath your comment in the readme directing people to this page: https://reactnative.dev/docs/flatlist#keyextractor
@jemise111 ah man.. I did not know that :) That makes sense though. I will fix that!
Okay, how about now?
Thanks for submitting a pull request!
Please confirm you have linted your code and fixed any issues:
yarn run fix
on my PR and fixed any formatting issuesPlease provide information on what your PR achieves and any issues that it addresses:
Fixes #434 There was previously no documentation surrounding the need for a
key
property in each of the objects in thedata
array. Without this property, the list doesn't function properly: the automatic closing of rows as a result of other interactions breaks.