'use strict';

var React = require('react');
var withSendbird = require('./withSendbird.js');
require('./_rollupPluginBabelHelpers-ea66c137.js');

/**
 * Example:
 * const MyComponent = () => {
 *  const context = useSendbirdStateContext();
 *  const sdk = sendbirdSelectors.getSdk(context);
 *  return (<div>...</div>);
 * }
 */
function useSendbirdStateContext() {
  const context = React.useContext(withSendbird.SendbirdSdkContext);
  return context;
}

module.exports = useSendbirdStateContext;
//# sourceMappingURL=useSendbirdStateContext.js.map
