UNPKG

swap-chat-react

Version:
10 lines (9 loc) 380 B
import React from 'react'; import type { UserInfo } from 'web2-mq'; export declare type ContactPreviewProps = { Preview?: React.ComponentType<ContactPreviewProps>; contact: UserInfo; activeContact: UserInfo | null; changeActiveContactEvent: (contact: UserInfo) => void; }; export declare const ContactPreview: (props: ContactPreviewProps) => JSX.Element;