"use strict";

exports.__esModule = true;
exports.setCustomColumnsState = setCustomColumnsState;
var _CustomColumnsState = require("./CustomColumnsState");
function setCustomColumnsState(props) {
  const {
    toolbar,
    customColumnsProps,
    modalsContainerRef
  } = props;
  toolbar.customColumnsState ?? (toolbar.customColumnsState = new _CustomColumnsState.CustomColumnsState({
    table: toolbar,
    container: toolbar.container,
    dragAndDrop: customColumnsProps == null ? void 0 : customColumnsProps.dragAndDrop,
    modalsContainerRef
  }));
}
//# sourceMappingURL=initCustomColumns.js.map