@ethora/chat-component 25.4.3 → 25.4.5

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.
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface URLPreviewCardProps {
4
+ url: string;
5
+ isUserMessage: boolean;
6
+ }
7
+ declare const URLPreviewCard: React.FC<URLPreviewCardProps>;
8
+ export default URLPreviewCard;
@@ -6,6 +6,7 @@ interface UsersListProps {
6
6
  setSelectedUsers: Dispatch<SetStateAction<RoomMember[]>>;
7
7
  headerElement?: boolean;
8
8
  style?: any;
9
+ filter?: RoomMember[];
9
10
  }
10
11
  declare const UsersList: React.FC<UsersListProps>;
11
12
  export default UsersList;
@@ -0,0 +1,3 @@
1
+ import { ChatAccessOption } from '../../types/types';
2
+
3
+ export declare const CHAT_TYPES: ChatAccessOption[];
@@ -0,0 +1,4 @@
1
+ export declare const LANGUAGE_OPTIONS: {
2
+ name: string;
3
+ id: string;
4
+ }[];
@@ -0,0 +1 @@
1
+ export declare function formatNumberWithCommas(num: number | string): string;
@@ -0,0 +1 @@
1
+ export declare const parseMessageBody: (text: string) => (string | JSX.Element)[];