UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

13 lines (12 loc) 785 B
import type { PropsWithChildren } from 'react'; import React from 'react'; import type { LoadMoreButtonProps } from './LoadMoreButton'; import type { PaginatorProps } from '../../types/types'; export type LoadMorePaginatorProps = PaginatorProps & { /** A UI button component that handles pagination logic */ LoadMoreButton?: React.ComponentType<LoadMoreButtonProps>; /** indicates if the `LoadMoreButton` should be displayed at the top of the list of channels instead of the bottom of the list (the default) */ reverse?: boolean; }; export declare const UnMemoizedLoadMorePaginator: (props: PropsWithChildren<LoadMorePaginatorProps>) => React.JSX.Element; export declare const LoadMorePaginator: (props: PropsWithChildren<LoadMorePaginatorProps>) => React.JSX.Element;