@vlprojects-chat/chat 0.0.52 → 0.0.53

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.
@@ -1,8 +1,8 @@
1
1
  import User from 'keystone/chat/user';
2
- import { FC } from 'react';
2
+ import React from 'react';
3
3
  interface IProps {
4
4
  user: User;
5
5
  own: boolean;
6
6
  }
7
- declare const UserMessageDisplayName: FC<IProps>;
8
- export default UserMessageDisplayName;
7
+ declare const _default: React.FC<IProps>;
8
+ export default _default;
@@ -1,3 +1,4 @@
1
1
  import { IEvents } from '../utils/eventBus/types';
2
- declare const useEventHook: (listener: string, callback: (data: IEvents) => void) => void;
2
+ declare type Callback = (data: IEvents) => void;
3
+ declare const useEventHook: (listener: string, callback: Callback) => void;
3
4
  export default useEventHook;