• Parameters

    • __namedParameters: { flatListProps?: Omit<FlatListProps<GroupChannel>, "data" | "renderItem">; groupChannels: GroupChannel[]; menuItemCreator?: ((defaultMenuItem: ActionMenuItem) => ActionMenuItem); onLoadNext: (() => Promise<void>); renderGroupChannelPreview: ((channel: GroupChannel, onLongPressChannel: (() => void)) => null | ReactElement<any, string | JSXElementConstructor<any>>) }
      • Optional flatListProps?: Omit<FlatListProps<GroupChannel>, "data" | "renderItem">

        Prop from Fragment *

      • groupChannels: GroupChannel[]

        GroupChannels from SendbirdChat SDK *

      • Optional menuItemCreator?: ((defaultMenuItem: ActionMenuItem) => ActionMenuItem)
          • (defaultMenuItem: ActionMenuItem): ActionMenuItem
          • Prop from Fragment *

            Parameters

            • defaultMenuItem: ActionMenuItem

            Returns ActionMenuItem

      • onLoadNext: (() => Promise<void>)
          • (): Promise<void>
          • Method to load more data, called with onEndReached of FlatList *

            Returns Promise<void>

      • renderGroupChannelPreview: ((channel: GroupChannel, onLongPressChannel: (() => void)) => null | ReactElement<any, string | JSXElementConstructor<any>>)
          • (channel: GroupChannel, onLongPressChannel: (() => void)): null | ReactElement<any, string | JSXElementConstructor<any>>
          • Method to render GroupChannel preview *

            Parameters

            • channel: GroupChannel
            • onLongPressChannel: (() => void)
                • (): void
                • Returns void

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

    Returns Element

Generated using TypeDoc