File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -414,6 +414,10 @@ export type InputMessageInputContextValue<
414414 */
415415 compressImageQuality ?: number ;
416416
417+ /**
418+ * Override the entire content of the CreatePoll component. The component has full access to the
419+ * useCreatePollContext() hook.
420+ * */
417421 CreatePollContent ?: React . ComponentType < PollContentProps > ;
418422
419423 /**
Original file line number Diff line number Diff line change @@ -357,6 +357,7 @@ export type MessagesContextValue<
357357 handleRetry ?: ( message : MessageType < StreamChatGenerics > ) => Promise < void > ;
358358 /** Handler to access when a thread reply action is invoked */
359359 handleThreadReply ?: ( message : MessageType < StreamChatGenerics > ) => Promise < void > ;
360+ /** A flag specifying whether the poll creation button is available or not. */
360361 hasCreatePoll ?: boolean ;
361362 /** Handler to deal with custom memoization logic of Attachment */
362363 isAttachmentEqual ?: (
@@ -510,6 +511,10 @@ export type MessagesContextValue<
510511 * ```
511512 */
512513 onPressMessage ?: ( payload : MessageTouchableHandlerPayload < StreamChatGenerics > ) => void ;
514+ /**
515+ * Override the entire content of the Poll component. The component has full access to the
516+ * usePollState() and usePollContext() hooks.
517+ * */
513518 PollContent ?: React . ComponentType < PollContentProps > ;
514519 /**
515520 * Full override of the reaction function on Message and Message Overlay
You can’t perform that action at this time.
0 commit comments