diff options
author | Rohan Raj Gupta <[email protected]> | 2022-08-12 12:57:43 +0530 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-12 12:57:43 +0530 |
commit | 6d821dc4aa7f6235d2d619dfd8b2954c241f0439 (patch) | |
tree | ca8811c7d708bbb7f3266b9bc1045ee70219f996 /client/src/components/Card/Card.jsx | |
parent | 53795fe3153f514e0eda6a01f6e55eeb50c94d46 (diff) | |
parent | 87a343644592e9b425e7fa0805988ad8e7ee8778 (diff) |
Merge pull request #3 from Blaster4385/develop
Refactor code, add country api, switch to multi-step form
Diffstat (limited to 'client/src/components/Card/Card.jsx')
-rw-r--r-- | client/src/components/Card/Card.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/components/Card/Card.jsx b/client/src/components/Card/Card.jsx index 3d66067..9460955 100644 --- a/client/src/components/Card/Card.jsx +++ b/client/src/components/Card/Card.jsx @@ -1,9 +1,9 @@ import React from 'react' import styles from './Card.module.css' -const Card = ({ title, image }) => { +const Card = ({ title, image, onClick }) => { return ( - <div className={styles.card}> + <div onClick={ onClick } className={styles.card}> <img className={styles.card__image} src={image} alt="" /> <h2 className={styles.card__title}>{title}</h2> </div> |