Skip to content

Commit afa8824

Browse files
author
Nikita Levchuk
authored
feat: allow using custom event wrapper component while dragging (#2228)
Closes #1864
1 parent d2c37f5 commit afa8824

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/addons/dragAndDrop/EventContainerWrapper.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import PropTypes from 'prop-types'
22
import React from 'react'
33
import { DnDContext } from './DnDContext'
4-
import NoopWrapper from '../../NoopWrapper'
54

65
import Selection, {
76
getBoundsForNode,
@@ -254,7 +253,7 @@ class EventContainerWrapper extends React.Component {
254253
className="rbc-addons-dnd-drag-preview"
255254
style={{ top, height, width: 100 }}
256255
getters={getters}
257-
components={{ ...components, eventWrapper: NoopWrapper }}
256+
components={components}
258257
accessors={{ ...accessors, ...dragAccessors }}
259258
continuesPrior={startsBeforeDay}
260259
continuesAfter={startsAfterDay}

0 commit comments

Comments
 (0)