/// import { UR, EnrichedReaction } from 'getstream'; import { LoadMorePaginatorProps } from './LoadMorePaginator'; import { DefaultUT, DefaultAT } from '../context'; import { ElementOrComponentOrLiteralType } from '../utils'; export declare type ReactionListType = { /** The ID of the activity for which these reactions are */ activityId: string; /** The component that should render the reaction */ Reaction: ElementOrComponentOrLiteralType<{ reaction: EnrichedReaction; key?: string; }>; /** The reaction kind that you want to display in this list, e.g `like` or `comment` */ reactionKind: string; /** Only needed for reposted activities where you want to show the reactions * of the original activity, not of the repost */ activityPath?: string[]; /** Show and load reactions starting with the oldest reaction first, instead * of the default where reactions are displayed and loaded most recent first. */ oldestToNewest?: boolean; /** By default pagination is done with a "Load more" button, you can use * [InfiniteScrollPaginator](/components/infinite-scroll) to enable infinite scrolling * #LoadMorePaginator (Component)# */ Paginator?: ElementOrComponentOrLiteralType; /** Reverse the order the reactions are displayed in. */ reverseOrder?: boolean; }; export declare const ReactionList: ({ activityId, Reaction, reactionKind, activityPath: defaultActivityPath, oldestToNewest, Paginator, reverseOrder, }: ReactionListType) => JSX.Element; //# sourceMappingURL=ReactionList.d.ts.map