diff --git a/scripts/index_d_ts b/scripts/index_d_ts index c36489d99..5eecb2d07 100644 --- a/scripts/index_d_ts +++ b/scripts/index_d_ts @@ -480,6 +480,7 @@ declare module '@sendbird/uikit-react/ChannelList' { declare module '@sendbird/uikit-react/ChannelList/context' { export const ChannelListProvider: React.FunctionComponent; export function useChannelListContext (): ChannelListProviderInterface; + export function useChannelList (): ChannelListProviderInterface; } declare module '@sendbird/uikit-react/ChannelList/components/AddChannel' { diff --git a/src/index.d.ts b/src/index.d.ts index 6bb67fb8b..41dcccf33 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -497,6 +497,7 @@ declare module '@sendbird/uikit-react/ChannelList' { declare module '@sendbird/uikit-react/ChannelList/context' { export type ChannelListProvider = React.FunctionComponent; export function useChannelListContext (): ChannelListProviderInterface; + export function useChannelList (): ChannelListProviderInterface; } declare module '@sendbird/uikit-react/ChannelList/components/AddChannel' {