Skip to content

Commit 59b7d37

Browse files
sravan-sSravan S
andauthored
fix: type defn for useChannelList (#153)
Co-authored-by: Sravan S <[email protected]>
1 parent b2cae84 commit 59b7d37

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/index_d_ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ declare module '@sendbird/uikit-react/ChannelList' {
480480
declare module '@sendbird/uikit-react/ChannelList/context' {
481481
export const ChannelListProvider: React.FunctionComponent<ChannelListProviderProps>;
482482
export function useChannelListContext (): ChannelListProviderInterface;
483+
export function useChannelList (): ChannelListProviderInterface;
483484
}
484485

485486
declare module '@sendbird/uikit-react/ChannelList/components/AddChannel' {

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ declare module '@sendbird/uikit-react/ChannelList' {
497497
declare module '@sendbird/uikit-react/ChannelList/context' {
498498
export type ChannelListProvider = React.FunctionComponent<ChannelListProviderProps>;
499499
export function useChannelListContext (): ChannelListProviderInterface;
500+
export function useChannelList (): ChannelListProviderInterface;
500501
}
501502

502503
declare module '@sendbird/uikit-react/ChannelList/components/AddChannel' {

0 commit comments

Comments
 (0)