@talkjs/react-components 0.0.10 → 0.0.11

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.
package/default.d.ts CHANGED
@@ -157,14 +157,14 @@ declare interface ChatHeaderProps {
157
157
  currentUser: UserSnapshot;
158
158
  t: Translation;
159
159
  chatbox: ChatboxRef;
160
- themeCustom: any;
160
+ themeCustom?: any;
161
161
  }
162
162
 
163
163
  declare interface ContentBlockProps {
164
164
  message: MessageSnapshot;
165
165
  currentUser: UserSnapshot;
166
166
  t: Translation;
167
- themeCustom: any;
167
+ themeCustom?: any;
168
168
  }
169
169
 
170
170
  declare interface Coordinates {
@@ -193,7 +193,7 @@ declare interface FileBlockProps extends ContentBlockProps {
193
193
  declare interface IconProps {
194
194
  type: "attach" | "chevronLeft" | "left" | "chevronUp" | "up" | "chevronDown" | "down" | "close" | "emoji" | "locationPin" | "more" | "plus" | "search" | "send" | "spinner" | "play" | "pause" | "updown" | "addEmoji" | "microphone" | "mic" | "stop" | "download" | "location" | "email" | "movie" | "image" | "attachment" | "horizontalDots" | "verticalDots" | "reply" | "back";
195
195
  className?: string;
196
- themeCustom: any;
196
+ themeCustom?: any;
197
197
  }
198
198
 
199
199
  declare interface IEditorController extends EditorState {
@@ -218,7 +218,7 @@ declare interface MessageActionMenuProps {
218
218
  message: MessageSnapshot;
219
219
  chatbox: ChatboxRef;
220
220
  t: Translation;
221
- themeCustom: any;
221
+ themeCustom?: any;
222
222
  }
223
223
 
224
224
  declare interface MessageDividerProps {
@@ -229,7 +229,7 @@ declare interface MessageDividerProps {
229
229
  conversation: ConversationSnapshot;
230
230
  app: AppMetadata;
231
231
  t: Translation;
232
- themeCustom: any;
232
+ themeCustom?: any;
233
233
  }
234
234
 
235
235
  declare interface MessageFieldProps {
@@ -241,7 +241,7 @@ declare interface MessageFieldProps {
241
241
  t: Translation;
242
242
  chatbox: ChatboxRef;
243
243
  editor?: IEditorController;
244
- themeCustom: any;
244
+ themeCustom?: any;
245
245
  }
246
246
 
247
247
  declare interface MessageListFooterProps {
@@ -251,7 +251,7 @@ declare interface MessageListFooterProps {
251
251
  currentUser: UserSnapshot;
252
252
  t: Translation;
253
253
  chatbox: ChatboxRef;
254
- themeCustom: any;
254
+ themeCustom?: any;
255
255
  }
256
256
 
257
257
  declare interface MessagePermissions extends UserPermissions {
@@ -270,7 +270,7 @@ declare interface MessageProps {
270
270
  t: Translation;
271
271
  chatbox: ChatboxRef;
272
272
  messageActionMenuAnchorRef: React_2.RefObject<HTMLElement | undefined>;
273
- themeCustom: any;
273
+ themeCustom?: any;
274
274
  }
275
275
 
276
276
  declare type MessageStatus = "sending" | "sent" | "everyoneRead";