'use client' import type { TrumpPost } from '@/types' import Badge from '@/components/ui/Badge' import { formatPct } from '@/lib/utils' interface ExpandDetailProps { post: TrumpPost | null } export default function ExpandDetail({ post }: ExpandDetailProps) { return (
{post.text}
Price Impact ({post.price_impact.asset})
{item.label}
= 0 ? 'text-[#4ade80]' : 'text-[#ef4444]' }`} > {formatPct(item.value)}
No significant price impact detected.
)}