import type { HTMLAttributes, ReactNode } from "react";
import type { AdvancedColumnDefinition, SortingDirection } from "../../../../Layout/Tables/DataTable/types";
export interface DataTableHeaderCellProps- extends HTMLAttributes {
/** The column to display in the header cell. */
column: AdvancedColumnDefinition
- ;
/** Whether the header cell is disabled. */
disabled?: boolean;
/** Whether sorting is enabled for the column. */
isSortingEnabled?: boolean;
/** The current sorting direction for the column. */
sortingDirection?: SortingDirection;
/** The callback triggered when the sorting changes. */
onToggleSort: (columnId: string, sortingDirection: SortingDirection) => void;
/** The content to display in the header cell. */
children: ReactNode;
}
export declare const DataTableHeaderCell:
- ({ sortingDirection, onToggleSort, column: { id, className, sort }, disabled, children, ...props }: DataTableHeaderCellProps
- ) => import("react/jsx-runtime").JSX.Element;