ThreadSidebar

Unpublished development API. This package is under development and is not available as a published release.

A conversation sidebar connected to a ThreadDirectory: New chat, Projects, Recent and Archived with the row commands the directory supports. It refreshes on mount and, given a session, after each run. Place it inside ChatSidenav or use it on its own.

import { ThreadSidebar } from '@threadplane/react/chat';

Declaration · overload 1

export declare function ThreadSidebar(input: ThreadSidebarProps): import("react/jsx-runtime").JSX.Element;

Parameters

{ directory, session, activeThreadId, onSelect, onNewChat, onActiveRemoved, selectedProjectId, onProjectSelect, features, renderThread, extraActions, before, after, labels, className, } · required
input · required
ThreadSidebarProps

Returns

import("react/jsx-runtime").JSX.Element