import React__default from 'react';
import { T as ThreadProvider } from './ThreadProvider-32ad9b71.js';
import ThreadUI from './Thread/components/ThreadUI.js';
import './index-2bcbd629.js';
import './index-29b5f961.js';
import './utils/message/getOutgoingMessageState.js';
import './UserProfileContext-4000b574.js';
import 'prop-types';
import './useSendbirdStateContext.js';
import './withSendbird.js';
import './_rollupPluginBabelHelpers-84c5f752.js';
import './tslib.es6-7fcea8bc.js';
import './Thread/context/types.js';
import '@sendbird/chat';
import './topics-3e4dcc24.js';
import '@sendbird/chat/groupChannel';
import './uuid-35d63c11.js';
import '@sendbird/chat/message';
import './LocalizationContext-d1588f62.js';
import './stringSet-e01b2800.js';
import './utils-a206fb07.js';
import './index-eebb33bc.js';
import './Thread/components/ParentMessageInfo.js';
import './RemoveMessageModal-f18c3419.js';
import './ui/Modal.js';
import 'react-dom';
import './index-e0a772a4.js';
import './ui/Button.js';
import './ui/Icon.js';
import './ui/IconButton.js';
import './MediaQueryContext-cec57274.js';
import './Thread/components/ParentMessageInfoItem.js';
import './index-7fb69390.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-3a03ba45.js';
import './ui/Avatar.js';
import './ui/ImageRenderer.js';
import './ui/TextButton.js';
import './color-99272a87.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-cef9d759.js';
import './compareIds-1c8d9514.js';
import './const-eebfa48b.js';
import './const-db680d9b.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-d8ac232d.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
