WelcomeProps

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

Configures presentation slots without owning conversation visibility or state.

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

Declaration

export interface WelcomeProps  {
  readonly children?: ReactNode;
  readonly className?: string;
  readonly suggestions?: ReactNode;
  readonly title?: ReactNode;
}

Members

children

Input or other content whose mounted identity is retained as other slots change.

readonly children?: ReactNode;

className

Additional classes on the welcome container.

readonly className?: string;

suggestions

Optional suggestion content; null, false and undefined omit the slot.

readonly suggestions?: ReactNode;

title

Custom title content; undefined uses the default h2, null or false omits it.

readonly title?: ReactNode;