UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

28 lines (27 loc) 1.14 kB
import { KendoComponent } from '../_types/component'; export declare const GRID_CLASSNAME = "k-grid"; declare const options: { size: ("small" | "medium" | "large" | undefined)[]; }; export type KendoGridOptions = { size?: (typeof options.size)[number] | null; }; export type KendoGridProps = KendoGridOptions & { toolbar?: React.JSX.Element; pager?: React.JSX.Element; pagerPosition?: 'top' | 'bottom'; groupingHeader?: React.JSX.Element; gridSelectionAggregates?: React.JSX.Element; _renderAriaRoot?: boolean; resizable?: boolean; /** @aria Total number of columns in the grid. */ ariaColCount?: number; /** @aria Total number of rows in the grid (including header/footer). */ ariaRowCount?: number; /** @aria ID for the .k-grid-aria-root element, used by aria-controls on toolbar/grouping header. */ ariaRootId?: string; /** @aria Role for the .k-grid-aria-root element. Defaults to "grid", overridden to "treegrid" for TreeList. */ ariaRole?: string; }; export declare const Grid: KendoComponent<KendoGridProps & React.HTMLAttributes<HTMLDivElement>>; export default Grid;