UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the MUI X Data Grid components.

28 lines 680 B
import type { GridRowId } from "../../../models/gridRows.js"; import type { RowReorderDropPosition } from "../../../models/api/gridRowApi.js"; /** * The row reorder state. */ export interface GridRowReorderState { /** * Whether a row drag operation is currently active. */ isActive: boolean; /** * The row ID being dragged. */ draggedRowId: GridRowId | null; /** * The current drop target information. */ dropTarget?: { /** * The row ID where the drop indicator should be shown. */ rowId: GridRowId; /** * The position of the drop indicator relative to the target row. */ position: RowReorderDropPosition; }; }