UNPKG

@mui/x-data-grid-pro

Version:

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

19 lines (18 loc) 809 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerMultiSelectColumnType = registerMultiSelectColumnType; var _internals = require("@mui/x-data-grid/internals"); var _gridMultiSelectColDef = require("./gridMultiSelectColDef"); /** * Registers the `multiSelect` column type in the core column-type registry so core hydration * resolves its colDef defaults. Called at module load from the Pro/Premium grid component modules * (whose hook exports are used, so bundlers always evaluate them) — never from the community * bundle. `registerGridColumnTypes` is idempotent, so repeated calls are safe. */ function registerMultiSelectColumnType() { (0, _internals.registerGridColumnTypes)({ multiSelect: _gridMultiSelectColDef.GRID_MULTI_SELECT_COL_DEF }); }