From 62622e977f9eb01efb08eeeedd62329912d0e76c Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Fri, 28 Jul 2023 15:11:26 -0600 Subject: [PATCH] Return null for native Drag and Drop consumers to prevent Drag UI on native --- src/components/DragAndDrop/Consumer/index.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/DragAndDrop/Consumer/index.native.js b/src/components/DragAndDrop/Consumer/index.native.js index fd15e5de87e0..ff9825ffac97 100644 --- a/src/components/DragAndDrop/Consumer/index.native.js +++ b/src/components/DragAndDrop/Consumer/index.native.js @@ -1,7 +1,7 @@ import dragAndDropConsumerPropTypes from './dragAndDropConsumerPropTypes'; -function DragAndDropConsumer({children}) { - return children; +function DragAndDropConsumer() { + return null; } DragAndDropConsumer.propTypes = dragAndDropConsumerPropTypes;