Skip to content

Commit

Permalink
Clean up imports in ScrollViewComponentWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoran committed Jan 5, 2025
1 parent 9f2541b commit 787598e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#import <Foundation/Foundation.h>
#import <React/RCTView.h>
#import <UIKit/UIKit.h>

@interface ScrollViewComponentWrapper : NSObject

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "ScrollViewComponentWrapper.h"
#import "ScrollViewComponentWrapper.h"

#ifdef RCT_NEW_ARCH_ENABLED
#include <React/RCTScrollViewComponentView.h>
#import <React/RCTScrollViewComponentView.h>
#define ReactScrollViewBase RCTScrollViewComponentView
#else
#include <React/RCTScrollView.h>
#import <React/RCTScrollView.h>
#define ReactScrollViewBase RCTScrollView
#endif

Expand Down

0 comments on commit 787598e

Please sign in to comment.