import Alert, { AlertType } from "../Alerts/Alert";
import React from "react";
const ModalBody = (props) => {
    return (React.createElement("div", { className: "modal-body" },
        props.error && React.createElement(Alert, { title: props.error, type: AlertType.DANGER }),
        props.children));
};
export default ModalBody;
//# sourceMappingURL=ModalBody.js.map