@vlprojects-chat/chat 0.0.41 → 0.0.44

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,10 +1,12 @@
1
1
  import Message from 'keystone/chat/message';
2
- import React from 'react';
2
+ import User from 'keystone/chat/user';
3
+ import { FC } from 'react';
3
4
  export interface IProps {
4
5
  index: number;
5
6
  message: Message;
7
+ user?: User;
6
8
  short?: boolean;
7
9
  showLineTime: boolean;
8
10
  }
9
- declare const _default: React.NamedExoticComponent<IProps>;
10
- export default _default;
11
+ declare const UserMessage: FC<IProps>;
12
+ export default UserMessage;
@@ -1,7 +1,8 @@
1
1
  import User from 'keystone/chat/user';
2
- import React from 'react';
2
+ import { FC } from 'react';
3
3
  interface IProps {
4
4
  user: User;
5
+ own: boolean;
5
6
  }
6
- declare const _default: React.NamedExoticComponent<IProps>;
7
- export default _default;
7
+ declare const UserMessageDisplayName: FC<IProps>;
8
+ export default UserMessageDisplayName;