@mui/x-data-grid
Version:
The Community plan edition of the MUI X Data Grid components.
11 lines • 540 B
TypeScript
import { GridColumnHeaderParams } from "./params/gridColumnHeaderParams.js";
/**
* A function used to process headerClassName params.
* @param {GridColumnHeaderParams} params The parameters of the column header.
* @returns {string} The class name to be added to the column header cell.
*/
export type GridColumnHeaderClassFn = (params: GridColumnHeaderParams) => string;
/**
* The union type representing the [[GridColDef]] column header class type.
*/
export type GridColumnHeaderClassNamePropType = string | GridColumnHeaderClassFn;