react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

<Flatlist /> ListFooterComponent documentation

Open TravisHi opened this issue 3 years ago • 0 comments

Hey guys, I wasn't sure how else to raise this, but for me the documentation for this prop was unclear to me.

Rendered at the bottom of all the items. Can be a React Component (e.g. SomeComponent), or a React element (e.g. <SomeComponent />). To me it reads that every renderItem ("all the items") would be effected by whatever was inside ListFooterComponent.

I was thinking of updating it to something like the following:

Rendered at the bottom of the Flatlist, after the renderItems. Can be a React Component (e.g. SomeComponent), or a React element (e.g. <SomeComponent />). To make it clear that ListFooterComponent is separate from renderItem.

I can submit a PR but I wasn't sure where to discuss this/if I'm being overly picky/would be an irrelevant PR.

TravisHi avatar Sep 01 '22 23:09 TravisHi