Skip to content

Commit adcb60b

Browse files
authored
fix: Rename some modules (#209)
* @sendbird/uikit-react/withSendBird -> @sendbird/uikit-react/withSendbird * AdminPanel -> ModerationPanel
1 parent a8fd472 commit adcb60b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

exports.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
SendbirdProvider: 'src/lib/Sendbird.jsx',
1010
sendbirdSelectors: 'src/lib/selectors.ts',
1111
useSendbirdStateContext: 'src/hooks/useSendbirdStateContext.tsx',
12-
withSendBird: 'src/lib/SendbirdSdkContext.jsx',
12+
withSendbird: 'src/lib/SendbirdSdkContext.jsx',
1313

1414
// ChannelList
1515
ChannelList: 'src/smart-components/ChannelList/index.tsx',

scripts/index_d_ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -838,13 +838,13 @@ declare module '@sendbird/uikit-react/useSendbirdStateContext' {
838838
export default useSendbirdStateContext;
839839
}
840840

841-
declare module '@sendbird/uikit-react/withSendBird' {
841+
declare module '@sendbird/uikit-react/withSendbird' {
842842
import SendbirdUIKitGlobal from 'SendbirdUIKitGlobal';
843-
function withSendBird(
843+
function withSendbird(
844844
ChildComp: React.Component | React.ElementType,
845845
mapStoreToProps?: (store: SendbirdUIKitGlobal.SendBirdState) => unknown
846846
): (props: unknown) => React.ReactNode;
847-
export default withSendBird;
847+
export default withSendbird;
848848
}
849849

850850
/** ChannelList */
@@ -902,9 +902,9 @@ declare module '@sendbird/uikit-react/ChannelSettings/context' {
902902
export const useChannelSettingsContext: () => SendbirdUIKitGlobal.ChannelSettingsProviderInterface;
903903
}
904904

905-
declare module '@sendbird/uikit-react/ChannelSettings/components/AdminPanel' {
906-
const AdminPanel: React.FunctionComponent;
907-
export default AdminPanel;
905+
declare module '@sendbird/uikit-react/ChannelSettings/components/ModerationPanel' {
906+
const ModerationPanel: React.FunctionComponent;
907+
export default ModerationPanel;
908908
}
909909

910910
declare module '@sendbird/uikit-react/ChannelSettings/components/ChannelProfile' {

0 commit comments

Comments
 (0)