'use strict';

var React = require('react');
var OpenChannelList_components_OpenChannelListUI = require('./OpenChannelList/components/OpenChannelListUI.js');
var OpenChannelList_context = require('./OpenChannelListProvider-58b81f55.js');
require('./OpenChannelList/components/OpenChannelPreview.js');
require('./ui/Avatar.js');
require('./ui/ImageRenderer.js');
require('./ui/Icon.js');
require('prop-types');
require('./uuid-f1d9be11.js');
require('./index-bff918b2.js');
require('./stringSet-5157206d.js');
require('./index-9b427971.js');
require('./LocalizationContext-6adf6aa8.js');
require('./index-6a7f94de.js');
require('./ui/Loader.js');
require('./ui/IconButton.js');
require('./_rollupPluginBabelHelpers-ea66c137.js');
require('./CreateOpenChannel.js');
require('./CreateOpenChannel/components/CreateOpenChannelUI.js');
require('./ui/Button.js');
require('./ui/Modal.js');
require('react-dom');
require('./index-f84d188a.js');
require('./MediaQueryContext-1dd78ce3.js');
require('./ui/Input.js');
require('./ui/TextButton.js');
require('./color-6641e39b.js');
require('./CreateOpenChannel/context.js');
require('./useSendbirdStateContext.js');
require('./withSendbird.js');
require('./consts-a6f34df8.js');
require('./topics-2fe6fef6.js');

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

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

function OpenChannelList(_ref) {
  let {
    // provider
    className,
    queries,
    onChannelSelected,
    // ui
    renderHeader,
    renderChannelPreview,
    renderPlaceHolderEmpty,
    renderPlaceHolderError,
    renderPlaceHolderLoading
  } = _ref;
  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
