nestiq-component-library 1.1.84 → 1.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/NewPropertyCard/NewPropertyCard.d.ts +1 -0
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NewPropertyCard/NewPropertyCard.css +3 -0
- package/src/components/NewPropertyCard/NewPropertyCard.tsx +3 -2
|
@@ -47,6 +47,7 @@ interface PopupProps {
|
|
|
47
47
|
// onMessagePopupSubmitClick: (formValues: MessageModel) => void;
|
|
48
48
|
messageOnClick: () => void;
|
|
49
49
|
onclickSuccess: () => void;
|
|
50
|
+
onClick: () => void;
|
|
50
51
|
}
|
|
51
52
|
export default function PropertyCard(props: PopupProps) {
|
|
52
53
|
const [liked, setLiked] = useState(false);
|
|
@@ -107,8 +108,8 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
107
108
|
};
|
|
108
109
|
|
|
109
110
|
return (
|
|
110
|
-
<div className="d-flex flex-row ">
|
|
111
|
-
<div className="d-flex flex-column col-md-6 col-lg-12">
|
|
111
|
+
<div className="d-flex flex-row card">
|
|
112
|
+
<div className="d-flex flex-column col-md-6 col-lg-12" onClick={props.onClick}>
|
|
112
113
|
<div
|
|
113
114
|
key={props.property.id}
|
|
114
115
|
className="card-bod position-relative cardStyles h-100 w-100"
|