UNPKG

@sendbird/uikit-react

Version:

Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

20 lines (17 loc) 753 B
import { _ as __assign } from './chunks/bundle-yl5d1NoZ.js'; import { u as useSendbird } from './chunks/bundle-i_3w58Zd.js'; import './chunks/bundle-BUYU9H94.js'; import 'react'; import './chunks/bundle-CqLLOVG5.js'; import '@sendbird/chat'; import '@sendbird/chat/groupChannel'; import '@sendbird/chat/openChannel'; // NOTE: Do not use this hook internally. // This hook is exported to support backward compatibility. // Keep this function for backward compatibility. function useSendbirdStateContext() { var _a = useSendbird(), state = _a.state, actions = _a.actions; return __assign(__assign({}, state), actions); } export { useSendbirdStateContext as default, useSendbirdStateContext }; //# sourceMappingURL=useSendbirdStateContext.js.map