diff --git a/frontend/src/Components/UserInfoModal.tsx b/frontend/src/Components/UserInfoModal.tsx new file mode 100644 index 0000000..fff6776 --- /dev/null +++ b/frontend/src/Components/UserInfoModal.tsx @@ -0,0 +1,46 @@ +import Button from "./Button"; +import DeleteUser from "./DeleteUser"; +import UserProjectListAdmin from "./UserProjectListAdmin"; + +function UserInfoModal(props: { + isVisible: boolean; + username: string; + onClose: () => void; +}): JSX.Element { + if (!props.isVisible) return <>; + + return ( +
+
+

{props.username}

+
+

+ Member of these projects: +

+ +
+
+
+
+
+ ); +} + +export default UserInfoModal;