12 lines
499 B
TypeScript
12 lines
499 B
TypeScript
export function FactorRow({ label, value, detail }: { label: string; value: string; detail: string }) {
|
|
return (
|
|
<div className="flex items-center justify-between border-b border-forest/10 py-3 last:border-0 dark:border-white/10">
|
|
<div>
|
|
<p className="font-semibold text-ink dark:text-paper">{label}</p>
|
|
<p className="text-sm text-ink/55 dark:text-paper/55">{detail}</p>
|
|
</div>
|
|
<p className="font-bold text-forest dark:text-mint">{value}</p>
|
|
</div>
|
|
);
|
|
}
|