Skip to content

Commit 81577e3

Browse files
Nick LefeverSaadnajmi
authored andcommitted
[fabric] Fix missing method declaration of View component
Summary: See title. Test Plan: Sandcastle build D53695263 Reviewers: shawndempsey, #rn-desktop Reviewed By: shawndempsey Differential Revision: https://phabricator.intern.facebook.com/D53711568
1 parent 63d6e76 commit 81577e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-native/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ NS_ASSUME_NONNULL_BEGIN
7979
- (void)finalizeUpdates:(RNComponentViewUpdateMask)updateMask NS_REQUIRES_SUPER;
8080
- (void)prepareForRecycle NS_REQUIRES_SUPER;
8181

82+
#if TARGET_OS_OSX // [macOS
83+
- (void)buildDataTransferItems:(std::vector<DataTransferItem> &)dataTransferItems forPasteboard:(NSPasteboard *)pasteboard;
84+
#endif // macOS]
85+
8286
/*
8387
* This is a fragment of temporary workaround that we need only temporary and will get rid of soon.
8488
*/

0 commit comments

Comments
 (0)