changed position of header

This commit is contained in:
Pramod Mahajan 2025-05-07 17:18:57 +05:30
parent 00c56788ed
commit 71bb1c25dd

View File

@ -28,16 +28,19 @@ const ConfirmModal = ({ type, onSubmit, onClose, message, loading ,header}) => {
<div className="modal-content">
<div className="modal-body">
<div className="row">
<div className="text-start mb-1">
<div className=' d-flex justify-content-between mb-4'>
{header && < strong className='mb-0 font-weight-bold'>{header }</strong>}
<button
type="button"
className="btn-close"
aria-label="Close"
onClick={onClose}
/>
<div className="text-start mb-1">
</div>
{header && < strong className='mb-0 font-weight-bold'>{header }</strong>}
<div className='row'>
<div className='col-4 col-sm-2'> {TypeofIcon(type)}</div>
<div className='col-8 col-sm-10 py-sm-2 py-1 text-sm-end'>
@ -55,7 +58,7 @@ const ConfirmModal = ({ type, onSubmit, onClose, message, loading ,header}) => {
onClick={onClose}
disabled={loading}
>
Cancel
No
</button>
</div>
</div>