Skip to content

Commit b90d2e2

Browse files
committed
feat!: deprecated enableReactionsSupergroup in SendbirdUIKitContainerProps
1 parent 14c23fb commit b90d2e2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/uikit-react-native/src/containers/SendbirdUIKitContainer.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const SendbirdUIKit = Object.freeze({
6464
},
6565
});
6666

67-
type UnimplementedFeatures = 'threadReplySelectType' | 'replyType';
67+
type UnimplementedFeatures = 'threadReplySelectType' | 'replyType' | 'enableReactionsSupergroup';
6868
export type ChatOmittedInitParams = Omit<
6969
SendbirdChatParams<[GroupChannelModule, OpenChannelModule]>,
7070
(typeof chatOmitKeys)[number]
@@ -104,6 +104,10 @@ export type SendbirdUIKitContainerProps = React.PropsWithChildren<{
104104
common: SBUConfig['common'];
105105
groupChannel: Omit<SBUConfig['groupChannel']['channel'], UnimplementedFeatures> & {
106106
replyType: Extract<SBUConfig['groupChannel']['channel']['replyType'], 'none' | 'quote_reply'>;
107+
/**
108+
* @deprecated Currently, this feature is turned off by default. If you wish to use this feature, contact us: {@link https://dashboard.sendbird.com/settings/contact_us?category=feedback_and_feature_requests&product=UIKit}
109+
*/
110+
enableReactionsSupergroup: never;
107111
};
108112
groupChannelList: SBUConfig['groupChannel']['channelList'];
109113
groupChannelSettings: SBUConfig['groupChannel']['setting'];
@@ -208,7 +212,7 @@ const SendbirdUIKitContainer = (props: SendbirdUIKitContainerProps) => {
208212
localConfigs={{
209213
common: uikitOptions?.common,
210214
groupChannel: {
211-
channel: uikitOptions?.groupChannel,
215+
channel: { ...uikitOptions?.groupChannel, enableReactionsSupergroup: undefined },
212216
channelList: uikitOptions?.groupChannelList,
213217
setting: uikitOptions?.groupChannelSettings,
214218
},

0 commit comments

Comments
 (0)