@@ -29,9 +29,8 @@ import React from 'react'
2929 * @prop onDragLeave The Chat Item's drop leave function and optional.
3030 * @prop onDragComponent The Chat Item's drag component and optional.
3131 * @prop letterItem The Chat Item's avatar letterItem and optional.
32- * @prop subList The Chat Item's sub chat items and optional.
33- * @prop onExpandItem The Chat Item's expand function onExpandItem(id: string) and optional.
34- * @prop expanded The Chat Item's expanded and optional.
32+ * @prop subTextElement The Chat Item's sub text element and optional.
33+ * @prop miniAvatar The Chat Item's mini avatar and optional.
3534 */
3635export interface IChatItemProps {
3736 id : string | number
@@ -65,9 +64,8 @@ export interface IChatItemProps {
6564 onDragComponent ?: any
6665 letterItem ?: ILetterItem
6766 customStatusComponents ?: React . ElementType < any > [ ]
68- subList ?: IChatItemProps [ ]
69- onExpandItem ?: Function
70- expanded ?: boolean ;
67+ subTextElement ?: JSX . Element
68+ miniAvatar ?: string
7169}
7270
7371/**
@@ -97,7 +95,6 @@ export interface ILetterItem {
9795 * @prop onDrop The Chat Item's drop function and optional.
9896 * @prop onDragLeave The Chat Item's drop leave function and optional.
9997 * @prop onDragComponent The Chat Item's drag component and optional.
100- * @prop onExpand The Chat Item's expand function and optional.
10198 */
10299export interface IChatListProps {
103100 id : string | number
@@ -115,7 +112,6 @@ export interface IChatListProps {
115112 onDrop ?: Function
116113 onDragLeave ?: Function
117114 onDragComponent ?: Function
118- onExpand ?: Function
119115}
120116
121117/**
@@ -1036,6 +1032,7 @@ export interface IPopupProps {
10361032 * @prop statusColorType The Avatar's status color type and optional.
10371033 * @prop statusColor The Avatar's status color and optional.
10381034 * @prop statusText The Avatar's status text and optional.
1035+ * @prop miniImage The Avatar's mini image and optional.
10391036 */
10401037export interface IAvatarProps {
10411038 src : string
@@ -1051,6 +1048,7 @@ export interface IAvatarProps {
10511048 statusColorType ?: string
10521049 statusColor ?: string
10531050 statusText ?: string
1051+ miniImage ?: string
10541052}
10551053
10561054/**
0 commit comments