'use strict';

var React = require('react');
var CreateOpenChannel_components_CreateOpenChannelUI = require('./CreateOpenChannel/components/CreateOpenChannelUI.js');
var CreateOpenChannel_context = require('./CreateOpenChannel/context.js');
require('./LocalizationContext-b42fa07d.js');
require('./stringSet-4f30313f.js');
require('./index-97005534.js');
require('./ui/Avatar.js');
require('./ui/ImageRenderer.js');
require('./ui/Icon.js');
require('prop-types');
require('./uuid-5ab4f88b.js');
require('./ui/Button.js');
require('./index-72e412f7.js');
require('./ui/Modal.js');
require('react-dom');
require('./index-e8b83547.js');
require('./ui/IconButton.js');
require('./_rollupPluginBabelHelpers-3a9d1641.js');
require('./MediaQueryContext-372b55a6.js');
require('./ui/Input.js');
require('./ui/TextButton.js');
require('./color-a4e73e6f.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

function CreateOpenChannel(_ref) {
  let {
    className,
    onCreateChannel,
    onBeforeCreateChannel,
    closeModal,
    renderHeader,
    renderProfileInput
  } = _ref;
  return /*#__PURE__*/React__default["default"].createElement(CreateOpenChannel_context.CreateOpenChannelProvider, {
    className: className,
    onCreateChannel: onCreateChannel,
    onBeforeCreateChannel: onBeforeCreateChannel
  }, /*#__PURE__*/React__default["default"].createElement(CreateOpenChannel_components_CreateOpenChannelUI, {
    closeModal: closeModal,
    renderHeader: renderHeader,
    renderProfileInput: renderProfileInput
  }));
}

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