Bachelorthesis_Code/frontend/src/components/GeneratedPassword.jsx

18 lines
366 B
JavaScript

import React from "react";
import "../App.css";
export default function GeneratedPassword(props) {
const handleOnCopyEvent = (e) => {
e.preventDefault();
return false;
};
return (
<>
<p>
Das Passwort für diese Situation lautet:{" "}
<span className="generated-password">{props.genPassword}</span>
</p>
</>
);
}