♻️ separate teamcard in one component

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

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;