import { CustomColumnsState } from './CustomColumnsState';
export function setCustomColumnsState(props) {
    const { toolbar, customColumnsProps, modalsContainerRef } = props;
    toolbar.customColumnsState ??= new CustomColumnsState({
        table: toolbar,
        container: toolbar.container,
        dragAndDrop: customColumnsProps?.dragAndDrop,
        modalsContainerRef,
    });
}
//# sourceMappingURL=initCustomColumns.js.map