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

28 lines (27 loc) 909 B
import React from 'react'; import { UserInfoData } from '../../component/userItem'; import { ModalProps } from '../../component/modal'; export interface UserSelectProps extends ModalProps { prefix?: string; className?: string; style?: React.CSSProperties; onUserSelect?: (user: UserSelectInfo & { type: 'add' | 'delete'; }, userArr: UserSelectInfo[]) => void; enableMultipleSelection?: boolean; selectedPanelHeader?: React.ReactNode; selectedPanelFooter?: React.ReactNode; users?: UserSelectInfo[]; checkedUsers?: UserSelectInfo[]; disableUserIds?: string[]; disabled?: boolean; searchPlaceholder?: string; onConfirm?: (selectedUsers: UserInfoData[]) => void; } export interface UserSelectInfo { avatarUrl?: string; nickname?: string; userId: string; } declare const UserSelect: React.FC<UserSelectProps>; export default UserSelect;