Dynamic alert title
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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}>
|
||||||
|
|||||||
Reference in New Issue
Block a user