import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-b6a76698.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-a8115de7.js';
import './index-14786153.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-53d89b5e.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-d746227b.js';
import './tslib.es6-ea477498.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-948f8346.js';
import '@sendbird/chat/groupChannel';
import './uuid-2d756af4.js';
import '@sendbird/chat/message';
import './LocalizationContext-299b1d45.js';
import './stringSet-8039f73a.js';
import './utils-119c0f8a.js';
import './index-256d00f1.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-2f571cc3.js';
import './ui/Modal.js';
import 'react-dom';
import './index-f0cb5427.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-84b087e0.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-b16ab63e.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-437f34f2.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-a6ad5b2f.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-e50a1789.js';
import './compareIds-4e3d3f6c.js';
import './const-40f65aaf.js';
import './const-c982283f.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-098867a9.js';
import './ui/Loader.js';
import './index-856dc0bd.js';
import './index-58485e08.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-924f6629.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
