Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/Chat/Component"

Index

Type aliases

FooterComponent

FooterComponent: Component<boolean, ITheme | undefined>

The component that renders at the bottom of the list above the user input

param

determines if the component is disabled

param

optional styling theme that can be used to colour thecomponent

HeaderComponent

HeaderComponent: Component<boolean, ITheme | undefined>

The component that renders at the top of the list when scrolled all the way back

param

determines if the component is disabled

param

optional styling theme that can be used to colour thecomponent

InputComponent

InputComponent: React.ComponentType<ICustomInputProps>

MessagesEmptyComponent

MessagesEmptyComponent: Component<boolean, ITheme | undefined>

The component that should render when the messages array is empty

param

determines if the component is disabled

param

optional styling theme that can be used to colour thecomponent

MessagesLoadingComponent

MessagesLoadingComponent: Component<boolean, ITheme | undefined>

The component that should render when component is loading messages

param

determines if the component is disabled

param

optional styling theme that can be used to colour thecomponent

Variables

Const bit50

bit50: number = 2 ** 50

Const bit51

bit51: number = 2 ** 51

Const bit52

bit52: number = 2 ** 52

Const component

component: IStatic = Chat

Functions

messageKeyExtractor

  • messageKeyExtractor<T>(__namedParameters: object): string
  • Type parameters

    • T

    Parameters

    • __namedParameters: object
      • id: string | IImmutable

    Returns string