We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e396f5 commit 51c2b52Copy full SHA for 51c2b52
package/src/components/Channel/Channel.tsx
@@ -2516,8 +2516,10 @@ const ChannelWithContext = <
2516
2517
export type ChannelProps<
2518
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
2519
-> = Partial<Omit<ChannelPropsWithContext<StreamChatGenerics>, 'channel'>> &
2520
- Pick<ChannelPropsWithContext<StreamChatGenerics>, 'channel'>;
+> = Partial<Omit<ChannelPropsWithContext<StreamChatGenerics>, 'channel' | 'thread'>> &
+ Pick<ChannelPropsWithContext<StreamChatGenerics>, 'channel'> & {
2521
+ thread?: MessageType<StreamChatGenerics> | ThreadType<StreamChatGenerics> | null;
2522
+ };
2523
2524
/**
2525
*
0 commit comments