import React__default from 'react';
import OpenChannelListUI from './OpenChannelList/components/OpenChannelListUI.js';
import { O as OpenChannelListProvider } from './OpenChannelListProvider-700cf3de.js';
import './OpenChannelList/components/OpenChannelPreview.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/Icon.js';
import 'prop-types';
import './uuid-1f1bbd9c.js';
import './index-4023d1b2.js';
import './stringSet-7a8ce1ce.js';
import './index-0f22e96e.js';
import './LocalizationContext-57b46f6c.js';
import './index-865112db.js';
import './ui/Loader.js';
import './ui/IconButton.js';
import './_rollupPluginBabelHelpers-0bc76382.js';
import './CreateOpenChannel.js';
import './CreateOpenChannel/components/CreateOpenChannelUI.js';
import './ui/Button.js';
import './ui/Modal.js';
import 'react-dom';
import './index-7bff4ce0.js';
import './MediaQueryContext-fbe7af77.js';
import './ui/Input.js';
import './ui/TextButton.js';
import './color-2ed716e6.js';
import './CreateOpenChannel/context.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './consts-3c0ff1ed.js';
import './topics-5ff88d6f.js';

function OpenChannelList(_ref) {
  let {
    // provider
    className,
    queries,
    onChannelSelected,
    // ui
    renderHeader,
    renderChannelPreview,
    renderPlaceHolderEmpty,
    renderPlaceHolderError,
    renderPlaceHolderLoading
  } = _ref;
  return /*#__PURE__*/React__default.createElement(OpenChannelListProvider, {
    className: className,
    queries: queries,
    onChannelSelected: onChannelSelected
  }, /*#__PURE__*/React__default.createElement(OpenChannelListUI, {
    renderHeader: renderHeader,
    renderChannelPreview: renderChannelPreview,
    renderPlaceHolderEmpty: renderPlaceHolderEmpty,
    renderPlaceHolderError: renderPlaceHolderError,
    renderPlaceHolderLoading: renderPlaceHolderLoading
  }));
}

export { OpenChannelList as default };
//# sourceMappingURL=OpenChannelList.js.map
