diff --git a/Frontend/src/pages/UserPanel/Farm/CropsList.jsx b/Frontend/src/pages/UserPanel/Farm/CropsList.jsx new file mode 100644 index 0000000..b5ca7c2 --- /dev/null +++ b/Frontend/src/pages/UserPanel/Farm/CropsList.jsx @@ -0,0 +1,61 @@ +const CropsList = ({ farmData }) => { + return ( +
| + Farm Name + | ++ Location + | ++ Type + | ++ Size (acres) + | ++ Water Content + | ++ Action + | +
|---|---|---|---|---|---|
| { + // Navigate to a detailed view for this farm if desired + navigate(`farmpage/${farmData._id}`); + }} + > + {farmData.name} + | +{farmData.location} | +{farmData.soilType} | +{farmData.size} | +{farmData.waterContent} | ++ + | +