import React from 'react';
import { observer } from 'mobx-react-lite';
import { MessageActionModal } from '../ActionModal';
function _SidePanelFieldActionsModal({ state }) {
    const value = state.confirmModal.value;
    if (!value) {
        return null;
    }
    return (React.createElement(MessageActionModal, { state: state.confirmModal, ...value, primaryButtonProps: {
            ...value.primaryButtonProps,
            disabled: state.deleteTask.status.isLoading,
        } }));
}
const SidePanelFieldActionsModal = observer(_SidePanelFieldActionsModal);
export default SidePanelFieldActionsModal;
//# sourceMappingURL=SidePanelFieldActionsModal.js.map