({ title, description, children }: TripOverviewCardProps)
| 8 | } |
| 9 | |
| 10 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected