Skip to content

Commit

Permalink
💫 Update: Header Imports
Browse files Browse the repository at this point in the history
dominicstop committed Dec 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 609fe5a commit 5aeff10
Showing 11 changed files with 27 additions and 29 deletions.
2 changes: 1 addition & 1 deletion ios/RNIContextMenuButton/RNIContextMenuButton.h
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
// Created by Dominic Go on 8/24/24.
//

#import <react-native-ios-utilities/RNIBaseView.h>
#import "RNIBaseView.h"

#if RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
14 changes: 7 additions & 7 deletions ios/RNIContextMenuButton/RNIContextMenuButton.mm
Original file line number Diff line number Diff line change
@@ -7,18 +7,18 @@

#import "RNIContextMenuButton.h"

#import "react-native-ios-context-menu/Swift.h"
#import "Swift.h"

#import <react-native-ios-utilities/RNIBaseView.h>
#import <react-native-ios-utilities/RNIContentViewParentDelegate.h>
#import <react-native-ios-utilities/UIApplication+RNIHelpers.h>
#import <react-native-ios-utilities/RNIObjcUtils.h>
#import "RNIBaseView.h"
#import "RNIContentViewParentDelegate.h"
#import "UIApplication+RNIHelpers.h"
#import "RNIObjcUtils.h"

#if RCT_NEW_ARCH_ENABLED
#include "RNIContextMenuButtonComponentDescriptor.h"

#include <react-native-ios-utilities/RNIBaseViewState.h>
#include <react-native-ios-utilities/RNIBaseViewProps.h>
#include "RNIBaseViewState.h"
#include "RNIBaseViewProps.h"

#import <React/RCTConversions.h>
#import <React/RCTFabricComponentsPlugins.h>
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
#include "RNIContextMenuButtonShadowNode.h"
#include "RNIBaseViewComponentDescriptor.h"

#include <react-native-ios-utilities/RNIBaseViewState.h>
#include "RNIBaseViewState.h"

#include <react/renderer/core/ConcreteComponentDescriptor.h>

6 changes: 3 additions & 3 deletions ios/RNIContextMenuButton/RNIContextMenuButtonShadowNode.h
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@
#if __cplusplus
#pragma once

#include <react-native-ios-utilities/RNIBaseViewShadowNode.h>
#include <react-native-ios-utilities/RNIBaseViewProps.h>
#include <react-native-ios-utilities/RNIBaseViewEventEmitter.h>
#include "RNIBaseViewShadowNode.h"
#include "RNIBaseViewProps.h"
#include "RNIBaseViewEventEmitter.h"

#include <react/renderer/components/RNIContextMenuViewSpec/EventEmitters.h>
#include <react/renderer/components/RNIContextMenuViewSpec/Props.h>
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
#import "RNIContextMenuButton.h"
#import <objc/runtime.h>

#import <react-native-ios-utilities/RNIBaseViewUtils.h>
#import "RNIBaseViewUtils.h"

#import "RCTBridge.h"
#import <React/RCTViewManager.h>
2 changes: 1 addition & 1 deletion ios/RNIContextMenuView/RNIContextMenuView.h
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
// Created by Dominic Go on 8/24/24.
//

#import <react-native-ios-utilities/RNIBaseView.h>
#import "RNIBaseView.h"

#if RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
14 changes: 7 additions & 7 deletions ios/RNIContextMenuView/RNIContextMenuView.mm
Original file line number Diff line number Diff line change
@@ -7,18 +7,18 @@

#import "RNIContextMenuView.h"

#import "react-native-ios-context-menu/Swift.h"
#import "Swift.h"

#import <react-native-ios-utilities/RNIBaseView.h>
#import <react-native-ios-utilities/RNIContentViewParentDelegate.h>
#import <react-native-ios-utilities/UIApplication+RNIHelpers.h>
#import <react-native-ios-utilities/RNIObjcUtils.h>
#import "RNIBaseView.h"
#import "RNIContentViewParentDelegate.h"
#import "UIApplication+RNIHelpers.h"
#import "RNIObjcUtils.h"

#if RCT_NEW_ARCH_ENABLED
#include "RNIContextMenuViewComponentDescriptor.h"

#include <react-native-ios-utilities/RNIBaseViewState.h>
#include <react-native-ios-utilities/RNIBaseViewProps.h>
#include "RNIBaseViewState.h"
#include "RNIBaseViewProps.h"

#import <React/RCTConversions.h>
#import <React/RCTFabricComponentsPlugins.h>
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@

#include "RNIContextMenuViewShadowNode.h"
#include "RNIBaseViewComponentDescriptor.h"

#include <react-native-ios-utilities/RNIBaseViewComponentDescriptor.h>
#include <react-native-ios-utilities/RNIBaseViewState.h>
#include "RNIBaseViewState.h"

#include <react/renderer/core/ConcreteComponentDescriptor.h>

2 changes: 1 addition & 1 deletion ios/RNIContextMenuView/RNIContextMenuViewManager.mm
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
#import "RNIContextMenuView.h"
#import <objc/runtime.h>

#import <react-native-ios-utilities/RNIBaseViewUtils.h>
#import "RNIBaseViewUtils.h"

#import "RCTBridge.h"
#import <React/RCTViewManager.h>
6 changes: 3 additions & 3 deletions ios/RNIContextMenuView/RNIContextMenuViewShadowNode.h
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@
#if __cplusplus
#pragma once

#include <react-native-ios-utilities/RNIBaseViewShadowNode.h>
#include <react-native-ios-utilities/RNIBaseViewProps.h>
#include <react-native-ios-utilities/RNIBaseViewEventEmitter.h>
#include "RNIBaseViewShadowNode.h"
#include "RNIBaseViewProps.h"
#include "RNIBaseViewEventEmitter.h"

#include <react/renderer/components/RNIContextMenuViewSpec/EventEmitters.h>
#include <react/renderer/components/RNIContextMenuViewSpec/Props.h>
2 changes: 1 addition & 1 deletion ios/Swift.h
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
// the module.
// Otherwise, it's available only locally with double-quoted imports.
#if __has_include(<react_native_ios_context_menu/react_native_ios_context_menu-Swift.h>)
#import "<react_native_ios_context_menu/react_native_ios_context_menu-Swift.h>"
#import <react_native_ios_context_menu/react_native_ios_context_menu-Swift.h>
#else
#import "react_native_ios_context_menu-Swift.h"
#endif

0 comments on commit 5aeff10

Please sign in to comment.