Skip to content

Commit

Permalink
Merge pull request #23829 from Expensify/andrew-drag-native
Browse files Browse the repository at this point in the history
Return null for native Drag and Drop consumers to prevent Drag UI on native
  • Loading branch information
roryabraham authored Jul 28, 2023
2 parents 24ed1be + 62622e9 commit eb02006
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 eb02006

Please sign in to comment.