swap-chat-react
Version:
swap-chat-react-components
15 lines (14 loc) • 512 B
TypeScript
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;