Skip to content

Commit

Permalink
Return null for native Drag and Drop consumers to prevent Drag UI on …
Browse files Browse the repository at this point in the history
…native
  • Loading branch information
AndrewGable committed Jul 28, 2023
1 parent 24ed1be commit 62622e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DragAndDrop/Consumer/index.native.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import dragAndDropConsumerPropTypes from './dragAndDropConsumerPropTypes';

function DragAndDropConsumer({children}) {
return children;
function DragAndDropConsumer() {
return null;
}

DragAndDropConsumer.propTypes = dragAndDropConsumerPropTypes;
Expand Down

0 comments on commit 62622e9

Please sign in to comment.