easemob-chat-uikit
Version:
   ![GitHub last c
17 lines (16 loc) • 686 B
TypeScript
import React from 'react';
import { BaseMessageProps, renderUserProfileProps } from '../baseMessage';
import type { CustomMessageType } from '../types/messageType';
export interface UserCardMessageProps extends BaseMessageProps {
customMessage: CustomMessageType;
prefix?: string;
style?: React.CSSProperties;
className?: string;
type?: 'primary' | 'secondly';
bubbleClass?: string;
nickName?: string;
renderUserProfile?: (props: renderUserProfileProps) => React.ReactNode;
onUserIdCopied?: (userId: string) => void;
}
declare let UserCardMessage: (props: UserCardMessageProps) => import("react/jsx-runtime").JSX.Element;
export { UserCardMessage };