MessageListScrollControls

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

View-owned actions. Retained actions become inert when this list unmounts.

import type { MessageListScrollControls } from '@threadplane/react/chat';

Declaration

export interface MessageListScrollControls  {
  readonly focus: () => void;
  readonly pinned: boolean;
  readonly scrollToLatest: () => void;
}

Members

focus

readonly focus: () => void;

pinned

readonly pinned: boolean;

scrollToLatest

readonly scrollToLatest: () => void;