MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / TripOverviewCard

Function TripOverviewCard

web/src/components/TripOverviewCard.tsx:10–24  ·  view source on GitHub ↗
({ title, description, children }: TripOverviewCardProps)

Source from the content-addressed store, hash-verified

8}
9
10export const TripOverviewCard = ({ title, description, children }: TripOverviewCardProps) => {
11 return (
12 <Card className="w-full md:max-w-[500px] z-[9999] flex-[0.3]">
13 <CardHeader>
14 <CardTitle>{title}</CardTitle>
15 <CardDescription>{description}</CardDescription>
16 </CardHeader>
17 <CardContent>
18 <ScrollArea>
19 {children}
20 </ScrollArea>
21 </CardContent>
22 </Card>
23 )
24}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected