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}>
<BoxedCheckIcon />
</div>
<p>Create New Service</p>
<p>{props.title}</p>
</div>
<div className={styles.alertBody}>
<p>

View File

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