Skip to content

Commit

Permalink
Create Badge.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Oct 20, 2024
1 parent 4aa709b commit 13f2e52
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/Badge.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

const Badge = ({ badge }) => {
return (
<div>
<h2>{badge.title}</h2>
<p>{badge.description}</p>
</div>
);
};

export default Badge;

0 comments on commit 13f2e52

Please sign in to comment.