Compartir a través de


GetChatSelector type

Tipo específico del selector aplicable a un componente determinado.

type GetChatSelector<Component> = AreEqual<
  Component,
  typeof SendBox
> extends true
  ? SendBoxSelector
  : AreEqual<Component, typeof MessageThread> extends true
  ? MessageThreadSelector
  : AreEqual<Component, typeof TypingIndicator> extends true
  ? TypingIndicatorSelector
  : AreEqual<Component, typeof ParticipantList> extends true
  ? ChatParticipantListSelector
  : AreEqual<Component, typeof ErrorBar> extends true
  ? ChatErrorBarSelector
  : undefined