Skip to content

Commit

Permalink
🛠 Refactor: Move ModalViewModule
Browse files Browse the repository at this point in the history
Summary: Move `ModalViewModule.js` from `src` to `src/native_modules`.
  • Loading branch information
dominicstop committed Jan 6, 2023
1 parent 72ce6c4 commit 006a935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
export * from './ModalView';
export * from './ModalViewModule';

export * from './constants/Enums';
export * from './context/ModalContext';
export * from './hoc/withModalLifecycle';

export * from './native_components/RNIModalView';
export * from './native_modules/ModalViewModule';

export * from './types/UIModalTypes';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NativeModules, NativeEventEmitter } from 'react-native';
import * as Helpers from './functions/helpers';
import * as Helpers from '../functions/helpers';

const moduleName = "RNIModalViewModule";
const NativeModule = NativeModules[moduleName];
Expand Down

0 comments on commit 006a935

Please sign in to comment.