CorrSteer / demo /src /components /model-card.tsx
seonglae's picture
fix: add demo
6b7d17f
raw
history blame contribute delete
537 Bytes
import { Info } from "lucide-react"
import { Card, CardContent } from "@/components/ui/card"
interface ModelCardProps {
title: string
text: string
}
export function ModelCard({ title, text }: ModelCardProps) {
return (
<Card className="overflow-hidden">
<CardContent className="p-6 space-y-4">
<div className="flex items-center gap-2">
<Info className="h-5 w-5" />
<h3 className="text-lg font-medium">{title}</h3>
</div>
<p>{text}</p>
</CardContent>
</Card>
)
}