react native flatlist header component and footer component code example Example: flatlist footer react native ListFooterComponent={() => <Text>Footer content</Text>}