diff options
Diffstat (limited to 'src/components/Card/Card.jsx')
-rw-r--r-- | src/components/Card/Card.jsx | 12 |
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; |