Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onClick: this.onClick,
getMessage: getMessage
}) : React.createElement(
'div',
{ className: classes.plainTitle },
columnTitle
),
resizingEnabled && React.createElement(ResizingControl, {
onWidthChange: onWidthChange,
onWidthDraft: onWidthDraft,
onWidthDraftCancel: onWidthDraftCancel
})
);
return draggingEnabled ? React.createElement(
dxReactCore.DragSource,
{
ref: function ref(element) {
_this2.cellRef = element;
},
payload: [{ type: 'column', columnName: column.name }],
onStart: function onStart() {
return _this2.setState({ dragging: true });
},
onEnd: function onEnd() {
return _this2.cellRef && _this2.setState({ dragging: false });
}
},
cellLayout
) : cellLayout;
}
}]);