♻️ separate teamcard in one component
This commit is contained in:
1 parent
2cb34c8b40
commit
d756e9a128
2 files changed
+32
-12
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user