goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
26 lines • 1.03 kB
TypeScript
import { default as React } from 'react';
import { ColumnDef } from '../../types';
import { DataGridStyles } from '../../../../theme';
interface ColumnHeaderRowProps {
allRowsSelected: boolean;
someRowsSelected: boolean;
handleHeaderCheckboxChange: React.ChangeEventHandler<HTMLInputElement>;
columns: ColumnDef[];
getResizeHandleProps: (columnField: string) => {
onMouseDown: (e: React.MouseEvent) => void;
style: React.CSSProperties;
};
isResizing: boolean;
resizingColumn: string | null;
styles?: DataGridStyles;
onColumnSort?: (field: string, direction: 'asc' | 'desc') => void;
onManageColumns?: () => void;
draggedColumn?: string | null;
onColumnDragStart?: (field: string) => void;
onColumnDragOver?: (e: React.DragEvent) => void;
onColumnDrop?: (targetField: string) => void;
onColumnDragEnd?: () => void;
}
declare const ColumnHeaderRow: React.FC<ColumnHeaderRowProps>;
export default ColumnHeaderRow;
//# sourceMappingURL=index.d.ts.map