Skip to content

Commit

Permalink
Create PolicyCard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 6, 2024
1 parent e166d6e commit c5039ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions blockchain_integration/PiSure/client/components/PolicyCard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';

const PolicyCard = ({ policy }) => {
return (
<div className="policy-card">
<h2>{policy.policyType}</h2>
<p>Policy Holder: {policy.firstName} {policy.lastName}</p>
<p>Email: {policy.email}</p>
<p>Policy ID: {policy.policyId}</p>
</div>
);
};

export default PolicyCard;

0 comments on commit c5039ed

Please sign in to comment.