UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

5 lines (4 loc) 449 B
import { ICommentItem } from '../CommentDrawer/CommentDrawer.container'; import { IFilterOption, ISortOption } from '../CommentDrawer/components/CommentMenu'; export declare const sortComments: (comments: ReadonlyArray<ICommentItem>, sortBy: ISortOption | undefined, direction?: "ascending" | "descending") => ICommentItem[]; export declare const filterComments: (comments: ReadonlyArray<ICommentItem>, filterBy: IFilterOption[]) => ICommentItem[];