import React from "react";
import { NotificationCardBodyActions } from "./NotificationCardBodyActions";
import { NotificationCardBodyContentLogo } from "./NotificationCardBodyContentLogo";
import { ErrorBoundary } from "../../../../common/ErrorBoundary";
export const NotificationCardBodyShell = ({ notification, children }) => {
    const { details, contentLogo } = notification;
    return (React.createElement("div", { className: "notification-card__body" },
        children ? (React.createElement(ErrorBoundary, null, children)) : (React.createElement(React.Fragment, null,
            React.createElement(NotificationCardBodyContentLogo, { contentLogo: contentLogo }),
            React.createElement("div", { className: "notification-card__body_text" }, details))),
        React.createElement(NotificationCardBodyActions, { notification: notification })));
};
//# sourceMappingURL=NotificationCardBodyShell.js.map