UNPKG

swap-chat-react

Version:
15 lines (14 loc) 512 B
import React from 'react'; import type { ChannelResponse } from 'web2-mq'; export declare type ChannelPreviewUIComponentProps = { Avatar?: React.ComponentType; channel: ChannelResponse; unread: number; lastMessage: string; displayTitle: string; updatedAt: string; active: boolean; avatarUrl: string[]; setActiveChannel?: (channel: ChannelResponse) => void; }; export declare const ChannelPreviewMessenger: (props: ChannelPreviewUIComponentProps) => JSX.Element;