♻️ separate teamcard in one component

This commit is contained in:
stefan080106 committed 2022-09-20 16:00:40 +02:00
1 parent 2cb34c8b40
commit d756e9a128
2 files changed
+32 -12

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import React from "react";
const TeamCard = (props) => {
return (
<div>
<img src={props.image} alt="ProfileImage" />
<div>
<h2>{props.name}</h2>
<h3>{props.stellung}</h3>
</div>
</div>
);
};
export default TeamCard;