UNPKG

easemob-chat-uikit

Version:

![Static Badge](https://img.shields.io/badge/platform-React-green) ![Static Badge](https://img.shields.io/badge/language-typescript-green) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/easemob/Easemob-UIKit-web) ![GitHub last c

23 lines (22 loc) 745 B
import React, { FC, ReactNode } from 'react'; import { UserInfoData } from '../../component/userItem'; export interface ContactItemProps { contactId: string; className?: string; prefix?: string; avatarShape?: 'circle' | 'square'; avatarSize?: number; focus?: boolean; onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>, contactId: string) => void; children?: ReactNode; style?: React.CSSProperties; isActive?: boolean; data: any; selectedId?: string; checkable?: boolean; checkedUserList?: string[]; defaultCheckedList?: string[]; onCheckboxChange?: (checked: boolean, data: UserInfoData) => void; } declare const ContactItem: FC<ContactItemProps>; export { ContactItem };