Skip to content

Commit df5da89

Browse files
CRNS-49 and CRNS-50: Updating comments
1 parent fbdb896 commit df5da89

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

types/index.d.ts

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ import { Text, GestureResponderEvent } from 'react-native';
55
import * as Client from 'stream-chat';
66
import * as SeamlessImmutable from 'seamless-immutable';
77

8+
//================================================================================================
9+
//================================================================================================
10+
//
11+
// Context types
12+
//
13+
//================================================================================================
14+
//================================================================================================
815
declare function withChatContext(): React.FC;
9-
1016
export interface ChatContext extends React.Context<ChatContextValue> {}
1117
export 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+
//================================================================================================
107120
export 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+
//================================================================================================
567587
export 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+
//================================================================================================
664692
export function registerNativeHandlers(handlers: {
665693
NetInfo: object;
666694
pickImage(): Promise<any>;

0 commit comments

Comments
 (0)