summaryrefslogtreecommitdiff
path: root/src/components/Card/Card.jsx
diff options
context:
space:
mode:
authorrohan09-raj <[email protected]>2022-07-17 23:17:33 +0530
committerrohan09-raj <[email protected]>2022-07-17 23:17:33 +0530
commitc44c85af7ade620419c097d9fc8ce4c9c66c00a7 (patch)
treefa9b5f6322088ad75a1675780e47807efbc3108f /src/components/Card/Card.jsx
parente571b19f3c3215fbb7436d2f023eca02c0955e4e (diff)
Built a basic folder structure
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;