import { HiArrowDown, HiArrowUp } from 'react-icons/hi2' export default function ThSort({ sort, search, label, children }) { return ( sort(label)}>
{children}
{search.sortBy === label && search.sortRule === 'desc' && (
)} {search.sortBy === label && search.sortRule === 'asc' && (
)}
) }