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}

+
+ +
+ ); +}