import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-bba0da1b.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-837130fb.js';
import './index-a682dd0a.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-8cec4652.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-1596259a.js';
import './tslib.es6-1d845c73.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-4353311c.js';
import '@sendbird/chat/groupChannel';
import './uuid-1f647558.js';
import '@sendbird/chat/message';
import './LocalizationContext-0a81b301.js';
import './stringSet-522716ae.js';
import './utils-b2c3eeca.js';
import './index-4052efb0.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-515ad099.js';
import './ui/Modal.js';
import 'react-dom';
import './index-22146748.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-dbf82efb.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-75c6845d.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-531c0ded.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-bf0c20dc.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-0f023800.js';
import './compareIds-8f9595bc.js';
import './const-faf029e4.js';
import './const-d3c760a4.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 './index-3e13540c.js';
import './ui/Loader.js';
import './index-589ef7e7.js';
import './index-53f9dbdb.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-c4124d52.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
