import React__default from 'react';
import OpenChannelListUI from './OpenChannelList/components/OpenChannelListUI.js';
import { O as OpenChannelListProvider } from './OpenChannelListProvider-bdc39bee.js';
import './OpenChannelList/components/OpenChannelPreview.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/Icon.js';
import 'prop-types';
import './uuid-a79b5ba8.js';
import './index-4372fcec.js';
import './stringSet-eefbc798.js';
import './index-49ff1ed1.js';
import './LocalizationContext-b2390bf8.js';
import './index-67135027.js';
import './ui/Loader.js';
import './ui/IconButton.js';
import './_rollupPluginBabelHelpers-4f8ebde4.js';
import './CreateOpenChannel.js';
import './CreateOpenChannel/components/CreateOpenChannelUI.js';
import './ui/Button.js';
import './ui/Modal.js';
import 'react-dom';
import './index-896545a0.js';
import './MediaQueryContext-b4904a2e.js';
import './ui/Input.js';
import './ui/TextButton.js';
import './color-9519a526.js';
import './CreateOpenChannel/context.js';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './consts-33537265.js';
import './topics-f3629ea0.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
