import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-4cfa4d07.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-bbd69eed.js';
import './index-8a738c8a.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-14ece55d.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-409f988a.js';
import './tslib.es6-88db6fd7.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-43edce25.js';
import '@sendbird/chat/groupChannel';
import './uuid-a6fa7f5c.js';
import '@sendbird/chat/message';
import './LocalizationContext-a600fb50.js';
import './stringSet-91224dde.js';
import './utils-776d4a47.js';
import './index-191a1508.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-779f1a33.js';
import './ui/Modal.js';
import 'react-dom';
import './index-719ce4f1.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-bdfbc4af.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-07f9c3d9.js';
import './ui/Word.js';
import './ui/LinkLabel.js';
import './ui/MentionLabel.js';
import './ui/ContextMenu.js';
import './ui/SortByRow.js';
import './ui/UserProfile.js';
import './sendbirdSelectors.js';
import './utils-37e7b76b.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-592f66aa.js';
import './ui/EmojiReactions.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './Channel/components/SuggestedMentionList.js';
import './ChannelProvider-1f4902ed.js';
import './compareIds-62c0f89f.js';
import './const-55d2d983.js';
import './const-654f9496.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './ui/MessageItemReactionMenu.js';
import './ui/MessageInput.js';
import 'react-dom/server';
import './ui/MentionUserLabel.js';
import './Thread/components/ThreadHeader.js';
import './Thread/components/ThreadList.js';
import './Thread/components/ThreadListItem.js';
import './ui/DateSeparator.js';
import './ui/MessageStatus.js';
import './ui/Loader.js';
import './ui/TextMessageItemBody.js';
import './ui/OGMessageItemBody.js';
import './ui/FileMessageItemBody.js';
import './ui/ThumbnailMessageItemBody.js';
import './ui/UnknownMessageItemBody.js';
import 'date-fns';
import './Thread/components/ThreadMessageInput.js';
import './index-04212901.js';

var Thread = function (props) {
  var // props
  className = props.className,
      // ThreadProviderProps
  channelUrl = props.channelUrl,
      message = props.message,
      onHeaderActionClick = props.onHeaderActionClick,
      onMoveToParentMessage = props.onMoveToParentMessage,
      // ThreadUIProps
  renderHeader = props.renderHeader,
      renderParentMessageInfo = props.renderParentMessageInfo,
      renderMessage = props.renderMessage,
      renderMessageInput = props.renderMessageInput,
      renderCustomSeparator = props.renderCustomSeparator,
      renderParentMessageInfoPlaceholder = props.renderParentMessageInfoPlaceholder,
      renderThreadListPlaceHolder = props.renderThreadListPlaceHolder;
  return /*#__PURE__*/React__default.createElement("div", {
    className: "sendbird-thread ".concat(className)
  }, /*#__PURE__*/React__default.createElement(ThreadProvider, {
    channelUrl: channelUrl,
    message: message,
    onHeaderActionClick: onHeaderActionClick,
    onMoveToParentMessage: onMoveToParentMessage
  }, /*#__PURE__*/React__default.createElement(ThreadUI, {
    renderHeader: renderHeader,
    renderParentMessageInfo: renderParentMessageInfo,
    renderMessage: renderMessage,
    renderMessageInput: renderMessageInput,
    renderCustomSeparator: renderCustomSeparator,
    renderParentMessageInfoPlaceholder: renderParentMessageInfoPlaceholder,
    renderThreadListPlaceHolder: renderThreadListPlaceHolder
  })));
};

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