import type {SearchParams} from "../../../../../type/searchParams.ts"; import {CheckBox} from "../../../../component/checkbox/CheckBox.tsx"; import {useTableSort} from "../../../../hook/useTableSort.ts"; import {SortableHeaderCell} from "../../../../component/table/SortableHeaderCell.tsx"; interface BoardListTableHeaderProps { params: SearchParams; onChange: (params: SearchParams) => void checked: boolean indeterminate: boolean onCheckAll: (checked: boolean) => void } export function BoardListTableHeader({ params, onChange, checked, indeterminate, onCheckAll }: BoardListTableHeaderProps) { const {handleSort, getSortIcon, isSorted} = useTableSort(params, onChange); return ( <> 번호 게시판명 연결 메뉴 댓글 / 글수 게시판유형 생성일 사용여부 게시판 관리 ) }