@@ -5,8 +5,14 @@ import { Text, GestureResponderEvent } from 'react-native';
55import * as Client from 'stream-chat' ;
66import * as SeamlessImmutable from 'seamless-immutable' ;
77
8+ //================================================================================================
9+ //================================================================================================
10+ //
11+ // Context types
12+ //
13+ //================================================================================================
14+ //================================================================================================
815declare function withChatContext ( ) : React . FC ;
9-
1016export interface ChatContext extends React . Context < ChatContextValue > { }
1117export interface ChatContextValue {
1218 client ?: Client . StreamChat ;
@@ -104,6 +110,13 @@ export interface KeyboardContextValue {
104110 dismissKeyboard ?( ) : void ;
105111}
106112
113+ //================================================================================================
114+ //================================================================================================
115+ //
116+ // Props types
117+ //
118+ //================================================================================================
119+ //================================================================================================
107120export interface ChatProps {
108121 client : Client . StreamChat ;
109122 style ?: object ;
@@ -564,6 +577,13 @@ export interface AttachmentActionsProps {
564577 actionHandler ?( name : string , value : string ) : any ;
565578}
566579
580+ //================================================================================================
581+ //================================================================================================
582+ //
583+ // Component types
584+ //
585+ //================================================================================================
586+ //================================================================================================
567587export class AutoCompleteInput extends React . PureComponent <
568588 AutoCompleteInputProps ,
569589 any
@@ -661,6 +681,14 @@ export class FileIcon extends React.PureComponent<
661681 FileIconUIComponentProps ,
662682 { }
663683> { }
684+
685+ //================================================================================================
686+ //================================================================================================
687+ //
688+ // Others
689+ //
690+ //================================================================================================
691+ //================================================================================================
664692export function registerNativeHandlers ( handlers : {
665693 NetInfo : object ;
666694 pickImage ( ) : Promise < any > ;
0 commit comments