ChatWindowProps

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

The three regions of a chat window; the owner supplies their content.

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

Declaration

export interface ChatWindowProps  {
  readonly children?: ReactNode;
  readonly className?: string;
  readonly footer?: ReactNode;
  readonly header?: ReactNode;
}

Members

children

The body, which takes the remaining height.

readonly children?: ReactNode;

className

readonly className?: string;

header

A fixed bar above the body. Left out, the body gets top spacing instead.

readonly header?: ReactNode;