import {useTableSort} from "../../../hook/useTableSort.ts"; import type {SearchParams} from "../../../../type/searchParams.ts"; import {CheckBox} from "../../../component/checkbox/CheckBox.tsx"; import {SortableHeaderCell} from "../../../component/table/SortableHeaderCell.tsx"; interface ContentListTableHeaderProps { params: SearchParams; onChange: (params: SearchParams) => void checked: boolean indeterminate: boolean onCheckAll: (checked: boolean) => void } export const ContentListTableHeader = ({ params, onChange, checked, indeterminate, onCheckAll }: ContentListTableHeaderProps) => { const {handleSort, getSortIcon, isSorted} = useTableSort(params, onChange); return ( <> 번호 콘텐츠이름 연결메뉴 등록자 등록일자 미리보기 ) }