'use strict';

var React = require('react');
var OpenChannelList_components_OpenChannelListUI = require('./OpenChannelList/components/OpenChannelListUI.js');
var OpenChannelList_context = require('./OpenChannelListProvider-c2ffa643.js');
require('./OpenChannelList/components/OpenChannelPreview.js');
require('./ui/Avatar.js');
require('./tslib.es6-b4fa8f1d.js');
require('./ui/ImageRenderer.js');
require('./ui/Icon.js');
require('prop-types');
require('./uuid-61941a28.js');
require('./index-ef0a59fd.js');
require('./stringSet-c306c59c.js');
require('./index-5592e65b.js');
require('./LocalizationContext-64800ba8.js');
require('./index-8b034127.js');
require('./ui/Loader.js');
require('./ui/IconButton.js');
require('./CreateOpenChannel.js');
require('./CreateOpenChannel/components/CreateOpenChannelUI.js');
require('./ui/Button.js');
require('./ui/Modal.js');
require('react-dom');
require('./index-6e1b95d9.js');
require('./ui/Input.js');
require('./ui/TextButton.js');
require('./color-b4fd88cc.js');
require('./CreateOpenChannel/context.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./_rollupPluginBabelHelpers-db7a8168.js');
require('./topics-c42771ac.js');

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

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

function OpenChannelList(_a) {
  var // provider
  className = _a.className,
      queries = _a.queries,
      onChannelSelected = _a.onChannelSelected,
      // ui
  renderHeader = _a.renderHeader,
      renderChannelPreview = _a.renderChannelPreview,
      renderPlaceHolderEmpty = _a.renderPlaceHolderEmpty,
      renderPlaceHolderError = _a.renderPlaceHolderError,
      renderPlaceHolderLoading = _a.renderPlaceHolderLoading;
  return /*#__PURE__*/React__default["default"].createElement(OpenChannelList_context.OpenChannelListProvider, {
    className: className,
    queries: queries,
    onChannelSelected: onChannelSelected
  }, /*#__PURE__*/React__default["default"].createElement(OpenChannelList_components_OpenChannelListUI, {
    renderHeader: renderHeader,
    renderChannelPreview: renderChannelPreview,
    renderPlaceHolderEmpty: renderPlaceHolderEmpty,
    renderPlaceHolderError: renderPlaceHolderError,
    renderPlaceHolderLoading: renderPlaceHolderLoading
  }));
}

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