'use strict';

var React = require('react');
var CreateChannel_components_CreateChannelUI = require('./CreateChannel/components/CreateChannelUI.js');
var CreateChannel_context = require('./CreateChannelProvider-fa6b0038.js');
require('./CreateChannel/components/InviteUsers.js');
require('./_rollupPluginBabelHelpers-09eba4f3.js');
require('./LocalizationContext-9eda9144.js');
require('./stringSet-85aa5de9.js');
require('./index-3a0cfa58.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./ui/Modal.js');
require('react-dom');
require('./index-61e3f022.js');
require('./ui/Button.js');
require('./index-4efb56bf.js');
require('prop-types');
require('./ui/Icon.js');
require('./ui/IconButton.js');
require('./MediaQueryContext-d15578f3.js');
require('./ui/UserListItem.js');
require('./UserProfileContext-3a37e911.js');
require('./ui/Avatar.js');
require('./ui/ImageRenderer.js');
require('./uuid-f2b80298.js');
require('./ui/MutedAvatarOverlay.js');
require('./ui/Checkbox.js');
require('./ui/UserProfile.js');
require('./sendbirdSelectors.js');
require('./topics-b3f004b2.js');
require('./utils-6916bad3.js');
require('./ui/ContextMenu.js');
require('./ui/SortByRow.js');
require('./index-cf37de8c.js');
require('./utils/message/getOutgoingMessageState.js');
require('./CreateChannel/components/SelectChannelType.js');

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

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

const CreateChannel = props => {
  const {
    onBeforeCreateChannel,
    userListQuery,
    onCreateChannel,
    overrideInviteUser,
    onCancel,
    renderStepOne
  } = props;
  return /*#__PURE__*/React__default["default"].createElement(CreateChannel_context.CreateChannelProvider, {
    onBeforeCreateChannel: onBeforeCreateChannel,
    userListQuery: userListQuery,
    onCreateChannel: onCreateChannel,
    overrideInviteUser: overrideInviteUser
  }, /*#__PURE__*/React__default["default"].createElement(CreateChannel_components_CreateChannelUI, {
    renderStepOne: renderStepOne,
    onCancel: onCancel
  }));
};

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