UNPKG

@mui/x-data-grid-premium

Version:

The Premium plan edition of the MUI X Data Grid Components.

16 lines 542 B
import { ReorderValidationContext } from "./types.js"; interface ValidationRule { name: string; applies: (ctx: ReorderValidationContext) => boolean; isInvalid: (ctx: ReorderValidationContext) => boolean; message?: string; } declare class RowReorderValidator { private rules; constructor(rules?: ValidationRule[]); addRule(rule: ValidationRule): void; removeRule(ruleName: string): void; validate(context: ReorderValidationContext): boolean; } export declare const rowGroupingReorderValidator: RowReorderValidator; export {};