interface SortIconProps { column: string; sort: string | null; order: string; } export default function SortIcon({ column, sort, order }: SortIconProps) { if (sort !== column) { return ( ); } return ( {order === "asc" ? : } ); }