import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-e0d19ff6.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-6ccea9a6.js';
import './index-757a563a.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-dd096494.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-3e5825fa.js';
import './tslib.es6-cd680863.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-9fbe0d61.js';
import '@sendbird/chat/groupChannel';
import './uuid-9f7da91d.js';
import '@sendbird/chat/message';
import './consts-886b25ca.js';
import './LocalizationContext-a6aa8be8.js';
import './stringSet-ad8993d1.js';
import './utils-d5c443b8.js';
import './index-67c5e94c.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-aee6074c.js';
import './ui/Modal.js';
import 'react-dom';
import './index-d4908e3c.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-a551e770.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-8ee9e1f5.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-aae15fda.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-ed83ffc3.js';
import './ui/EmojiReactions.js';
import './ui/Tooltip.js';
import './ui/TooltipWrapper.js';
import './ui/ReactionBadge.js';
import './ui/ReactionButton.js';
import './ui/VoiceMessageItemBody.js';
import './ui/ProgressBar.js';
import './VoicePlayer/useVoicePlayer.js';
import './index-a3a4b35c.js';
import './VoiceRecorder/context.js';
import './lame.all.js';
import './ui/PlaybackTime.js';
import './ui/Loader.js';
import './Channel/components/SuggestedMentionList.js';
import './ChannelProvider-def8e42f.js';
import './compareIds-c8335d61.js';
import './const-e27598a1.js';
import './const-a965f964.js';
import './ui/FileViewer.js';
import './ui/MessageItemMenu.js';
import './types-17028dc8.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-c8a147a4.js';
import './index-7283bb53.js';
import './index-00eb27a6.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 './VoiceMessageInputWrapper-f70b47c7.js';
import './VoiceRecorder/useVoiceRecorder.js';
import './index-978b3d6d.js';
import './index-86034384.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,
      renderFileUploadIcon = props.renderFileUploadIcon,
      renderVoiceMessageIcon = props.renderVoiceMessageIcon,
      renderSendMessageIcon = props.renderSendMessageIcon;
  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,
    renderFileUploadIcon: renderFileUploadIcon,
    renderVoiceMessageIcon: renderVoiceMessageIcon,
    renderSendMessageIcon: renderSendMessageIcon
  })));
};

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