@arkhas/inertia-datatable
Version:
A Laravel Inertia React Datatable component
16 lines (15 loc) • 704 B
TypeScript
interface DataTableColumnHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
columnKey: string;
title?: string;
isSortable?: boolean;
isToggable?: boolean;
isCheckboxColumn?: boolean;
isAllChecked?: boolean;
sortKey?: string;
sortDirection?: string;
onSort?: (columnKey: string, direction: string) => void;
onHide?: (columnKey: string) => void;
onCheckboxChange?: () => void;
}
export declare function DataTableColumnHeader({ columnKey, title, className, isSortable, isToggable, isCheckboxColumn, isAllChecked, sortKey, sortDirection, onSort, onHide, onCheckboxChange, }: DataTableColumnHeaderProps): import("react/jsx-runtime").JSX.Element;
export {};