@messenger-box/platform-mobile 0.0.1-alpha.394 → 0.0.1-alpha.395

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,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  export declare function DialogMessages({ channelId, role }: {
3
3
  channelId: any;
4
4
  role: any;
5
- }): JSX.Element;
5
+ }): React.JSX.Element;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  export declare function DialogThreadMessages({ channelId, postParentId, isPostParentIdThread, role }: {
3
3
  channelId: any;
4
4
  postParentId: any;
5
5
  isPostParentIdThread: any;
6
6
  role: any;
7
- }): JSX.Element;
7
+ }): React.JSX.Element;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  export declare function DialogThreads({ channelId, postParentId, role }: {
3
3
  channelId: any;
4
4
  postParentId: any;
5
5
  role: any;
6
- }): JSX.Element;
6
+ }): React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const Inbox: (props: any) => JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const Inbox: (props: any) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
- declare const ImageViewerModal: ({ children, isVisible, setVisible, modalContent }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const ImageViewerModal: ({ children, isVisible, setVisible, modalContent }: any) => React.JSX.Element;
2
3
  export default ImageViewerModal;
@@ -30,5 +30,5 @@ export default class Bubble extends React.Component<any> {
30
30
  renderUsername(): any;
31
31
  renderTime(): any;
32
32
  renderCustomView(): any;
33
- render(): JSX.Element;
33
+ render(): React.JSX.Element;
34
34
  }
@@ -20,6 +20,6 @@ export default class Message extends React.Component<any> {
20
20
  };
21
21
  renderDay(): any;
22
22
  renderBubble(): any;
23
- renderAvatar(): JSX.Element;
24
- render(): JSX.Element;
23
+ renderAvatar(): React.JSX.Element;
24
+ render(): React.JSX.Element;
25
25
  }
@@ -8,4 +8,4 @@ export interface AlertMessageAttachmentsInterface {
8
8
  link: string;
9
9
  };
10
10
  }
11
- export declare const ConversationView: React.MemoExoticComponent<({ channelId, role }: any) => JSX.Element>;
11
+ export declare const ConversationView: React.MemoExoticComponent<({ channelId, role }: any) => React.JSX.Element>;
@@ -4,4 +4,4 @@ export interface InboxProps {
4
4
  channelRole?: string;
5
5
  supportServices: boolean;
6
6
  }
7
- export declare const Dialogs: React.MemoExoticComponent<(props: InboxProps) => JSX.Element>;
7
+ export declare const Dialogs: React.MemoExoticComponent<(props: InboxProps) => React.JSX.Element>;
@@ -3,4 +3,4 @@ export interface SupportServiceInboxProps {
3
3
  channelFilters?: Record<string, unknown>;
4
4
  channelRole?: string;
5
5
  }
6
- export declare const SupportServiceDialogs: React.MemoExoticComponent<(props: SupportServiceInboxProps) => JSX.Element>;
6
+ export declare const SupportServiceDialogs: React.MemoExoticComponent<(props: SupportServiceInboxProps) => React.JSX.Element>;
@@ -8,4 +8,4 @@ export interface AlertMessageAttachmentsInterface {
8
8
  link: string;
9
9
  };
10
10
  }
11
- export declare const ThreadConversationView: React.MemoExoticComponent<({ channelId, postParentId, isPostParentIdThread, role }: any) => JSX.Element>;
11
+ export declare const ThreadConversationView: React.MemoExoticComponent<({ channelId, postParentId, isPostParentIdThread, role }: any) => React.JSX.Element>;
@@ -5,4 +5,4 @@ export interface ThreadsViewProps {
5
5
  channelsDetail?: any;
6
6
  refetchChannelDetail: (id: any) => Promise<any>;
7
7
  }
8
- export declare const ThreadsView: React.MemoExoticComponent<({ channelId, role, channelsDetail, refetchChannelDetail }: ThreadsViewProps) => JSX.Element>;
8
+ export declare const ThreadsView: React.MemoExoticComponent<({ channelId, role, channelsDetail, refetchChannelDetail }: ThreadsViewProps) => React.JSX.Element>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/platform-mobile",
3
- "version": "0.0.1-alpha.394",
3
+ "version": "0.0.1-alpha.395",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -40,5 +40,5 @@
40
40
  "typescript": {
41
41
  "definition": "lib/index.d.ts"
42
42
  },
43
- "gitHead": "dafe4a45d99d1549b995883eefe8160f14d0559e"
43
+ "gitHead": "c5531134e01da1c603813f22f6670cdc1ca402a4"
44
44
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import PropTypes from 'prop-types';
4
4
  import React from 'react';
5
- import { View, ViewPropTypes, StyleSheet } from 'react-native';
5
+ import { View, StyleSheet } from 'react-native';
6
6
 
7
7
  import { Avatar, Day, utils } from 'react-native-gifted-chat';
8
8
  import { Avatar as AvatarNativeBase } from 'native-base';