Skip to content

Commit 62de38f

Browse files
authored
fix: make all ThreadProps.additionalParentMessageProps keys optional (#1920)
1 parent 689514c commit 62de38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Thread/Thread.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type ThreadProps<
3838
/** Additional props for `MessageList` component: [available props](https://getstream.io/chat/docs/sdk/react/core-components/message_list/#props) */
3939
additionalMessageListProps?: MessageListProps<StreamChatGenerics>;
4040
/** Additional props for `Message` component of the parent message: [available props](https://getstream.io/chat/docs/sdk/react/message-components/message/#props) */
41-
additionalParentMessageProps?: MessageProps<StreamChatGenerics>;
41+
additionalParentMessageProps?: Partial<MessageProps<StreamChatGenerics>>;
4242
/** Additional props for `VirtualizedMessageList` component: [available props](https://getstream.io/chat/docs/sdk/react/core-components/virtualized_list/#props) */
4343
additionalVirtualizedMessageListProps?: VirtualizedMessageListProps<StreamChatGenerics>;
4444
/** If true, focuses the `MessageInput` component on opening a thread */

0 commit comments

Comments
 (0)