Skip to content

Commit

Permalink
Create NodeCard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 10, 2024
1 parent 56bce0b commit 72ee5f7
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';

const NodeCard = ({ node }) => {
return (
<div className="node-card">
<h2>{node.name}</h2>
<p>Reputation: {node.reputation}</p>
<p>Incentivization: {node.incentivization}</p>
</div>
);
};

export default NodeCard;

0 comments on commit 72ee5f7

Please sign in to comment.