Feature request: add ListEmptyComponent to List
See original GitHub issueI use the List
component a lot, because it’s easier to specify ListItems than specify a datasource on RN List implementations. However, I am really missing ListEmptyComponent
on List.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Showing list empty message at the center of the screen in a ...
I am using React-Native version 0.43.0 which does not support ListEmptyComponent of FlatList. Hence I am using ...
Read more >Display a List Using the FlatList Component in React Native
ListEmptyComponent is used to display an empty view while the data is being downloaded. ListHeaderComponent is used to add a header component ...
Read more >React Native Show Message for empty Flat List Example - Snack
Example to show message for empty React Native FlatList.
Read more >SectionList · React Native
A performant interface for rendering sectioned lists, supporting the most handy features: Fully cross-platform. Configurable viewability callbacks.
Read more >A deep dive into React Native FlatList - LogRocket Blog
It is a React Native component that allows you to render lists with zero ... This will make a GET request to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s exactly what I meant. If it’s okay with you, I think this should be closed.
Hey @kbrandwijk the
List
component for react-native-elements is just an wrapperView
around your content, so it doesn’t actually have any props that affect the List itself. Instead you can use theFlatList
component from react-native and place it inside ourList
. You can then use theListEmptyComponent
prop on FlatList.Here’s an example snack you can see https://snack.expo.io/B1J4Qvwbf