Hierarchy

  • OpenChannelListModule

Properties

Header: CommonComponent<{
    onPressHeaderRight: (() => void);
}>

Type declaration

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

List: CommonComponent<{
    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>>);
}>

Type declaration

  • 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>>

Provider: CommonComponent
StatusEmpty: CommonComponent
StatusError: CommonComponent<{
    onPressRetry: (() => void);
}>

Type declaration

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

StatusLoading: CommonComponent

Generated using TypeDoc