Dynamic alert title

This commit is contained in:
Laux Dev
2026-03-04 14:23:58 +08:00
parent c6c8496d9a
commit 803da7f722
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ const Alert = (props) => {
<div className={styles.iconContainer}> <div className={styles.iconContainer}>
<BoxedCheckIcon /> <BoxedCheckIcon />
</div> </div>
<p>Create New Service</p> <p>{props.title}</p>
</div> </div>
<div className={styles.alertBody}> <div className={styles.alertBody}>
<p> <p>

View File

@@ -38,6 +38,7 @@ const TopHeader = (props) => {
<Alert <Alert
setTriggerAlert={setTriggerAlert} setTriggerAlert={setTriggerAlert}
onClick={() => setEditState(true)} onClick={() => setEditState(true)}
title={props.topbarTitle}
/> />
)} )}
<div className={styles.container}> <div className={styles.container}>