@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.
3 lines (2 loc) • 386 B
JavaScript
"use client";
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("./CommentThread.component.js"),n=require("../utils/index.js");exports.CommentThreadContainer=s=>{const{replies:o,...i}=s,m=r.useMemo((()=>n.sortComments(o,"date","ascending")),[o]);return e.jsx(t.CommentThreadComponent,{...i,replies:m})};