"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessagingBubble = void 0;
var React = require("react");
var DeletedMessagingBubble_1 = require("./DeletedMessagingBubble");
var NormalMessagingBubble_1 = require("./NormalMessagingBubble");
/**
 * @deprecated Do not use. Instead, use [@clever/msg-bubble Bubble](https://github.com/Clever/clever-ui/blob/master/packages/msg-bubble/src/lib/bubble/Bubble.tsx)
 */
exports.MessagingBubble = function (props) {
    switch (props.bubbleType) {
        case "deleted": {
            return (React.createElement(DeletedMessagingBubble_1.DeletedMessagingBubble, { bubbleType: "deleted", className: props.className, theme: props.theme, deletionNoticeText: props.deletionNoticeText, messageOwnership: props.messageOwnership }));
        }
        default: {
            return (React.createElement(NormalMessagingBubble_1.NormalMessagingBubble, { bubbleType: "normal", className: props.className, children: props.children, timestamp: props.timestamp, replyTo: props.replyTo, attachments: props.attachments, messageBody: props.messageBody, messageOwnership: props.messageOwnership, onClickDeleteButton: props.onClickDeleteButton, theme: props.theme }));
        }
    }
};
