@ethora/chat-component 25.7.17 → 25.7.18

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.
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { IMessage } from '../../types/types';
3
3
  interface VirtualizedListProps {
4
4
  data: IMessage[];
5
- renderItem: (item: IMessage) => JSX.Element;
5
+ renderItem: (item: IMessage) => React.ReactNode;
6
6
  itemHeight: number;
7
7
  containerHeight: number;
8
8
  }
@@ -1,3 +1,4 @@
1
- export declare const decodeHTMLEntities: (text: any) => any;
2
- export declare const parseMessageBody: (text: any) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const parseMessageBody: ({ text }: {
2
+ text: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
3
4
  export default parseMessageBody;
@@ -1,2 +1,2 @@
1
- declare function usePrevious(value: any): undefined;
1
+ declare function usePrevious(value: any): any;
2
2
  export default usePrevious;