• Parameters

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

      • onPressChannel: ((channel) => void)
          • (channel): void
          • Parameters

            • channel: OpenChannel

            Returns void

      • onRefresh: (() => void)
          • (): void
          • Returns void

      • openChannels: OpenChannel[]
      • refreshing: boolean
      • renderOpenChannelPreview: ((props) => null | ReactElement<any, string | JSXElementConstructor<any>>)
          • (props): null | ReactElement<any, string | JSXElementConstructor<any>>
          • Parameters

            • props: {
                  channel: OpenChannel;
                  onPress: (() => void);
              }
              • channel: OpenChannel
              • onPress: (() => void)
                  • (): void
                  • Returns void

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

    Returns Element

Generated using TypeDoc