@ethora/chat-component 24.11.21 → 24.11.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import { IRoom } from '../../types/types';
3
3
 
4
4
  interface ChatHeaderProps {
5
5
  currentRoom: IRoom;
6
+ handleBackClick?: (value: boolean) => void;
6
7
  }
7
8
  declare const ChatHeader: React.FC<ChatHeaderProps>;
8
9
  export default ChatHeader;
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
 
3
3
  interface ChatRoomProps {
4
4
  CustomMessageComponent?: any;
5
+ handleBackClick?: (value: boolean) => void;
5
6
  }
6
7
  declare const ChatRoom: React.FC<ChatRoomProps>;
7
8
  export default ChatRoom;
@@ -6,7 +6,7 @@ interface ProfileImagePlaceholderProps {
6
6
  onClick?: () => void;
7
7
  size?: number;
8
8
  upload?: {
9
- onUpload: (image: File) => void;
9
+ onUpload: (image: File | string) => void;
10
10
  active: boolean;
11
11
  };
12
12
  remove?: {
@@ -5,6 +5,7 @@ interface RoomListProps {
5
5
  chats: IRoom[];
6
6
  burgerMenu?: boolean;
7
7
  onRoomClick?: (chat: IRoom) => void;
8
+ isSmallScreen?: boolean;
8
9
  }
9
10
  declare const RoomList: React.FC<RoomListProps>;
10
11
  export default RoomList;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface EditUserModalProps {
4
+ setIsEditing: React.Dispatch<React.SetStateAction<boolean>>;
5
+ modalUser: any;
6
+ config: any;
7
+ }
8
+ declare const EditUserModal: React.FC<EditUserModalProps>;
9
+ export default EditUserModal;