@@ -65,6 +65,30 @@ Custom UI component to display a attachment previews in `MessageInput`.
65
65
| --------- | ---------------------------------------------------------------------------------------------- |
66
66
| component | <GHComponentLink text = ' AttachmentPreviewList' path = ' /MessageInput/AttachmentPreviewList.tsx' /> |
67
67
68
+ ### AttachmentSelector
69
+
70
+ Custom UI component to control adding attachments to MessageInput, defaults to and accepts same props as:
71
+
72
+ | Type | Default |
73
+ | --------- | ---------------------------------------------------------------------------------------- |
74
+ | component | <GHComponentLink text = ' AttachmentSelector' path = ' /MessageInput/AttachmentSelector.tsx' /> |
75
+
76
+ ### AttachmentSelectorInitiationButtonContents
77
+
78
+ Custom UI component for contents of attachment selector initiation button.
79
+
80
+ | Type |
81
+ | --------- |
82
+ | component |
83
+
84
+ ### AudioRecorder
85
+
86
+ Custom UI component to display AudioRecorder in ` MessageInput ` .
87
+
88
+ | Type | Default |
89
+ | --------- | ------------------------------------------------------------------------------ |
90
+ | component | <GHComponentLink text = ' AudioRecorder' path = ' /MessageInput/AudioRecorder.tsx' /> |
91
+
68
92
### AutocompleteSuggestionItem
69
93
70
94
Custom UI component to override the default suggestion Item component.
@@ -155,9 +179,9 @@ Custom UI component to be displayed when the `MessageList` is empty.
155
179
| --------- | ------------------------------------------------------------------------------------------------- |
156
180
| component | <GHComponentLink text = ' EmptyStateIndicator' path = ' /EmptyStateIndicator/EmptyStateIndicator.tsx' /> |
157
181
158
- ### FileUploadIcon
182
+ ### FileUploadIcon (deprecated)
159
183
160
- Custom UI component for file upload icon.
184
+ Custom UI component for file upload icon. The component is now deprecated. Use [ ` AttachmentSelectorInitiationButtonContents ` ] ( #attachmentselectorinitiationbuttoncontents ) instead.
161
185
162
186
| Type | Default |
163
187
| --------- | ----------------------------------------------------------------------- |
@@ -309,6 +333,46 @@ Custom UI component to override default pinned message indicator.
309
333
| --------- | ---------------------------------------------------------------- |
310
334
| component | <GHComponentLink text = ' PinIndicator' path = ' /Message/icons.tsx' /> |
311
335
336
+ ### PollActions
337
+
338
+ Custom UI component to override default poll actions rendering in a message.
339
+
340
+ | Type | Default |
341
+ | --------- | ------------------------------------------------------------------------------ |
342
+ | component | <GHComponentLink text = ' PollActions' path = ' /Poll/PollActions/PollActions.tsx' /> |
343
+
344
+ ### PollContent
345
+
346
+ Custom UI component to override default poll rendering in a message.
347
+
348
+ | Type | Default |
349
+ | --------- | ------------------------------------------------------------------ |
350
+ | component | <GHComponentLink text = ' PollContent' path = ' /Poll/PollContent.tsx' /> |
351
+
352
+ ### PollCreationDialog
353
+
354
+ Custom UI component to override default poll creation dialog contents.
355
+
356
+ | Type | Default |
357
+ | --------- | --------------------------------------------------------------------------------------------------- |
358
+ | component | <GHComponentLink text = ' PollCreationDialog' path = ' /Poll/PollCreationDialog/PollCreationDialog.tsx' /> |
359
+
360
+ ### PollHeader
361
+
362
+ Custom UI component to override default poll header in a message.
363
+
364
+ | Type | Default |
365
+ | --------- | ---------------------------------------------------------------- |
366
+ | component | <GHComponentLink text = ' PollHeader' path = ' /Poll/PollHeader.tsx' /> |
367
+
368
+ ### PollOptionSelector
369
+
370
+ Custom UI component to override default poll option selector.
371
+
372
+ | Type | Default |
373
+ | --------- | -------------------------------------------------------------------------------- |
374
+ | component | <GHComponentLink text = ' PollOptionSelector' path = ' /Poll/PollOptionSelector.tsx' /> |
375
+
312
376
### QuotedMessage
313
377
314
378
Custom UI component to override quoted message UI on a sent message.
@@ -325,6 +389,14 @@ Custom UI component to override the message input's quoted message preview.
325
389
| --------- | -------------------------------------------------------------------------------------------- |
326
390
| component | <GHComponentLink text = ' QuotedMessagePreview' path = ' /MessageInput/QuotedMessagePreview.tsx' /> |
327
391
392
+ ### QuotedPoll
393
+
394
+ Custom UI component to override the rendering of quoted poll.
395
+
396
+ | Type | Default |
397
+ | --------- | ---------------------------------------------------------------- |
398
+ | component | <GHComponentLink text = ' QuotedPoll' path = ' /Poll/QuotedPoll.tsx' /> |
399
+
328
400
### ReactionSelector
329
401
330
402
Custom UI component to display the reaction selector.
0 commit comments