OpenChannelListProps: {
    Fragment: {
        flatListProps?: OpenChannelListProps["List"]["flatListProps"];
        onPressChannel: OpenChannelListProps["List"]["onPressChannel"];
        onPressCreateChannel: (() => void);
        queryCreator?: UseOpenChannelListOptions["queryCreator"];
        renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"];
    };
    Header: {
        onPressHeaderRight: (() => void);
    };
    List: {
        flatListProps?: Omit<FlatListProps<SendbirdOpenChannel>, "data" | "renderItem">;
        onLoadNext: (() => Promise<void>);
        onPressChannel: ((channel) => void);
        onRefresh: (() => void);
        openChannels: SendbirdOpenChannel[];
        refreshing: boolean;
        renderOpenChannelPreview: ((props) => React.ReactElement | null);
    };
    StatusError: {
        onPressRetry: (() => void);
    };
}

Type declaration

  • Fragment: {
        flatListProps?: OpenChannelListProps["List"]["flatListProps"];
        onPressChannel: OpenChannelListProps["List"]["onPressChannel"];
        onPressCreateChannel: (() => void);
        queryCreator?: UseOpenChannelListOptions["queryCreator"];
        renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"];
    }
    • Optional flatListProps?: OpenChannelListProps["List"]["flatListProps"]
    • onPressChannel: OpenChannelListProps["List"]["onPressChannel"]
    • onPressCreateChannel: (() => void)
        • (): void
        • Returns void

    • Optional queryCreator?: UseOpenChannelListOptions["queryCreator"]
    • Optional renderOpenChannelPreview?: OpenChannelListProps["List"]["renderOpenChannelPreview"]
  • Header: {
        onPressHeaderRight: (() => void);
    }
    • onPressHeaderRight: (() => void)
        • (): void
        • Returns void

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

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

          • channel: SendbirdOpenChannel

          Returns void

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

    • openChannels: SendbirdOpenChannel[]
    • refreshing: boolean
    • renderOpenChannelPreview: ((props) => React.ReactElement | null)
        • (props): React.ReactElement | null
        • Parameters

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

          Returns React.ReactElement | null

  • StatusError: {
        onPressRetry: (() => void);
    }
    • onPressRetry: (() => void)
        • (): void
        • Returns void

Generated using TypeDoc