summaryrefslogtreecommitdiff
path: root/src/components/Card/Card.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Card/Card.jsx')
-rw-r--r--src/components/Card/Card.jsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/Card/Card.jsx b/src/components/Card/Card.jsx
new file mode 100644
index 0000000..140451b
--- /dev/null
+++ b/src/components/Card/Card.jsx
@@ -0,0 +1,12 @@
+import React from 'react';
+
+const Card = (title, image) => {
+ return (
+ <>
+ <img src={image} alt='' />
+ <h2>{title}</h2>
+ </>
+ );
+};
+
+export default Card;