import type { ComponentType, FC } from "react"; import type { GridOnItemsRenderedProps, VariableSizeGridProps } from "react-window"; import { areEqual } from "react-window"; import type { DataGridRowProps } from "../DataGridRow"; import type { TableProps } from "../Table"; export { areEqual, type GridOnItemsRenderedProps }; /** * Properties for the `DataGrid` component. */ export type DataGridProps = Omit & Omit & { /** * The component to use for grid rows. Defaults to GridRow. */ RowComponent?: ComponentType; /** * If `true`, the first row will always be visible at the top of the * grid. */ stickyColumnHeaders?: boolean; /** * If `true`, a number of cells at the start of each row will always be * visible. The number of these visible cells is determined by * `stickyRowHeadersCount`. */ stickyRowHeaders?: boolean; /** * Number of columns to keep sticky at the start of each row. Default is * 1. */ stickyRowHeadersCount?: number; itemData?: unknown; }; /** * A component that implements the WAI_ARIA dData Grid design pattern. The grid * is virtualized for performance. */ declare const DataGrid: FC; export default DataGrid;