From 126b5646765dc7bdca4e072c8061560ecce4abd5 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 31 May 2023 11:12:28 +0100 Subject: [PATCH] Added missing PartCard --- src/app/components/property/PartCard.tsx | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/app/components/property/PartCard.tsx diff --git a/src/app/components/property/PartCard.tsx b/src/app/components/property/PartCard.tsx new file mode 100644 index 0000000..92691e6 --- /dev/null +++ b/src/app/components/property/PartCard.tsx @@ -0,0 +1,36 @@ +import { PencilSquareIcon } from "@heroicons/react/24/outline"; +import { useState } from "react"; +import PartModal from "./PartModal"; + +export default function PartCard({ + title, + description, +}: { + title: string; + description: string; +}) { + const [isDetailModalOpen, setIsDetailModalOpen] = useState(false); + + return ( +
+
+
+

{title}

+ +
+

{description}

+
+ +
+ ); +}