@vlprojects-chat/chat 0.0.51 → 0.0.54

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,6 +1,6 @@
1
1
  import Message from 'keystone/chat/message';
2
- import User from 'keystone/chat/user';
3
2
  import { FC } from 'react';
3
+ import User from 'keystone/chat/user';
4
4
  export interface IProps {
5
5
  index: number;
6
6
  message: Message;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import User from 'keystone/chat/user';
3
+ interface IProps {
4
+ user: User;
5
+ }
6
+ declare const _default: React.FC<IProps>;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './UserMessageAvatar';
@@ -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,2 +1,2 @@
1
- declare const _default: (props?: any) => import("@mui/styles").ClassNameMap<"form" | "textInput">;
1
+ declare const _default: (props?: any) => import("@mui/styles").ClassNameMap<"form">;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
+ import User from 'keystone/chat/user';
1
2
  import React from 'react';
2
- import User from '../../../../keystone/chat/user';
3
3
  declare type Props = {
4
4
  users: User[];
5
5
  };
@@ -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;