diff --git a/SerpentRace_Frontend/src/components/Card/Card.jsx b/SerpentRace_Frontend/src/components/Card/Card.jsx new file mode 100644 index 00000000..675a6cb6 --- /dev/null +++ b/SerpentRace_Frontend/src/components/Card/Card.jsx @@ -0,0 +1,19 @@ +import React from "react"; + +export default function Card({ title, children, onClose }) { + return ( +
+ + {title &&

{title}

} +
{children}
+
+ ); +} + +