Implement video feed feature with components, hooks, and utility functions

This commit is contained in:
2025-12-22 12:19:00 +00:00
parent 276dcd26ed
commit 45e6a3286c
13 changed files with 313 additions and 16 deletions

View File

@@ -0,0 +1,20 @@
import CardHeader from "../../../../components/CardHeader";
import Card from "../../../../components/ui/Card";
import type { SightingType } from "../../../../utils/types";
import SightingItem from "./SightingItem";
type SightingStackProps = {
sightings: SightingType[];
};
const SightingStack = ({ sightings }: SightingStackProps) => {
return (
<Card className="p-4 w-full">
<CardHeader title="Sightings" />
{sightings.map((sighting) => (
<SightingItem key={sighting.ref} sighting={sighting} />
))}
</Card>
);
};
export default SightingStack;