Function: ThreadSidebar()
ThreadSidebar(
__namedParameters):Element
Conversation sidebar: a “New chat” button over a scrollable list of
the caller’s threads. Each row shows the thread title (or a
placeholder for an as-yet-untitled new thread) and a relative
last-activity hint, with a hover rename affordance (inline text field,
commit on Enter / blur, cancel on Escape) and a two-click delete latch
so a stray click can’t drop a conversation. Pair with
ThreadSidebarProps from the useMastraChat driver, which owns
the data and selection.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”Element