• Parameters

    • __namedParameters: {
          flatListProps?: Omit<FlatListProps<OpenChannel>, "data" | "renderItem">;
          onLoadNext: (() => Promise<void>);
          onRefresh: (() => void);
          openChannels: OpenChannel[];
          refreshing: boolean;
          renderOpenChannelPreview: ((props: {
              channel: OpenChannel;
          }) => null | ReactElement<any, string | JSXElementConstructor<any>>);
      }
      • Optional flatListProps?: Omit<FlatListProps<OpenChannel>, "data" | "renderItem">

        Props for the FlatList component, passed to the OpenChannelList.List *

      • onLoadNext: (() => Promise<void>)
          • (): Promise<void>
          • Handler for loading the next batch of open channels *

            Returns Promise<void>

      • onRefresh: (() => void)
          • (): void
          • Handler for refreshing the list of open channels *

            Returns void

      • openChannels: OpenChannel[]

        OpenChannels from SendbirdChat SDK *

      • refreshing: boolean

        Props for the indicates if the FlatList is currently being refreshed *

      • renderOpenChannelPreview: ((props: {
            channel: OpenChannel;
        }) => null | ReactElement<any, string | JSXElementConstructor<any>>)
          • (props: {
                channel: OpenChannel;
            }): null | ReactElement<any, string | JSXElementConstructor<any>>
          • Method for rendering a preview of each open channel *

            Parameters

            • props: {
                  channel: OpenChannel;
              }
              • channel: OpenChannel

            Returns null | ReactElement<any, string | JSXElementConstructor<any>>

    Returns Element

Generated using TypeDoc