UNPKG

im-ui-mobile

Version:

A Vue3.0 + Typescript instant messaging component library for Uniapp

28 lines (24 loc) 762 B
import { AllowedComponentProps, VNodeProps } from '../common' declare interface MessageItemProps { avatar?: string showName: string msgInfo: any groupMembers?: any[] } declare interface MessageItemEmits { (e: 'call'): void (e: 'longPressHead'): void (e: 'resend', msgInfo: any): void (e: 'audioStateChange', state: string, msgInfo: any): void (e: 'copy', msgInfo: any): void (e: 'recall', msgInfo: any): void (e: 'delete', msgInfo: any): void (e: 'download', msgInfo: any): void } declare interface _MessageItem { new(): { $props: AllowedComponentProps & VNodeProps & MessageItemProps $emit: MessageItemEmits } } export declare const MessageItem: _MessageItem