Skip to main content

ChannelListMessenger

Basic Usage

ChannelListMessenger is used to show the UI components for List loading, loading failure, and loading success. Users can also set custom failure or load styles by using the LoadingErrorIndicator and LoadingIndicator properties.

API

ChannelListMessenger

The properties of the ChannelListMessenger are described as follows:

PropertyDescriptionTypeDefaultrequired
childrenset the nodeReact.ReactNode-true
errorSet the failed stateBoolean-false
listRefbind the current root nodeHTMLDivElementnul-
loadingSet the load stateBoolean-false
LoadingErrorIndicatorset the component with custom failure stateReact.ComponentType-false
LoadingIndicatorset the component with custom load stateReact.ComponentType-false