This commit is contained in:
Laux Dev
2026-03-06 09:02:55 +08:00
parent b3f7427e95
commit 7b7b15738b
3 changed files with 26 additions and 11 deletions

View File

@@ -24,12 +24,18 @@ const Alert = (props) => {
</div>
<div className={styles.alertBody}>
<p>
You are about to add a new record. Please review the details before
continuing. Do you want to proceed?
{props?.body ||
" You are about to add a new record. Please review the details before continuing. Do you want to proceed?"}
</p>
</div>
<div className={styles.actionButtons}>
<PrimaryButton text="Confirm" onClick={handleHide} />
<PrimaryButton
text="Confirm"
onClick={() => {
props?.setEditState(false);
handleHide();
}}
/>
<SecondaryButton text="Cancel" onClick={handleHide} />
</div>
</div>