Renders a loaded list, or in its place the loading, error or empty state.

Functions

f
ListState<L extends object>(unnamed 0: ListStateProps<L>): ReactNode

Renders "Loading…" while state loads, its error in an ErrorCard, then empty or children. Those two are only built once loaded, so they can read the loaded fields without checking the status again.

Interfaces

I
ListStateProps

Passed to ListState by the feeds of the index and the lists of a profile.