import { ChevronDown, ChevronUp } from 'lucide-react'; import { ColumnDef } from '@tanstack/react-table'; import { Button } from '@@/buttons'; import { DefaultType } from './types'; export function buildExpandColumn(): ColumnDef { return { id: 'expand', header: ({ table }) => { const hasExpandableItems = table.getCanSomeRowsExpand(); return ( hasExpandableItems && (