diff --git a/frontend/src/app/components/alerts/Alert.jsx b/frontend/src/app/components/alerts/Alert.jsx new file mode 100644 index 0000000..7fc417d --- /dev/null +++ b/frontend/src/app/components/alerts/Alert.jsx @@ -0,0 +1,38 @@ +import React, { useState } from "react"; +import styles from "./styles.module.css"; +import BoxedCheckIcon from "../icons/boxedCheck"; +const Alert = (props) => { + const [hide, setHide] = useState(false); + const handleHide = () => { + setHide(true); + setTimeout(() => { + props.setTriggerAlert(false); + }, 250); + }; + return ( +
Create New Service
++ You are about to add a new record. Please review the details before + continuing. Do you want to proceed? +
+{props.topbarTitle}
-Manage Env. Key
-{props.buttonText}
-{props.buttonText}
-{props.topbarTitle}
+Manage Env. Key
+{props.buttonText}
{props.cancelButtonText}
+ )} + {!props.state && ( +{props.buttonText}
Clone Project
-Robots
-Init Key
-Manage Env. Key
-{props.buttonText}
{props.cancelButtonText}
+Clone Project
+Robots
+Init Key
+Manage Env. Key
+