@ethora/chat-component 25.4.11 → 25.5.12

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.
@@ -125,3 +125,11 @@ export declare const DoubleTick: ({ fill, color, ...props }: {
125
125
  fill?: string;
126
126
  color?: string;
127
127
  }) => import("react/jsx-runtime").JSX.Element;
128
+ export declare const RedCross: ({ color, ...props }: {
129
+ [x: string]: any;
130
+ color?: string;
131
+ }) => import("react/jsx-runtime").JSX.Element;
132
+ export declare const SingleTick: ({ color, ...props }: {
133
+ [x: string]: any;
134
+ color?: string;
135
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare function findError(node: Element): {
2
+ hasError: boolean;
3
+ errorText: string | null;
4
+ };
@@ -1,3 +1,5 @@
1
- import { ApiRoom } from '../types/types';
1
+ import { ApiRoom, IRoom } from '../types/types';
2
2
 
3
- export declare function isChatIdPresentInArray(chatIdToFind: string, chatList: ApiRoom[]): boolean;
3
+ export declare function isChatIdPresentInArray(chatIdToFind: string, chatList: ApiRoom[] | {
4
+ [jid: string]: IRoom;
5
+ }): boolean;