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