Skip to content

Commit

Permalink
🛠 Refactor: Move ModalSheetViewEventEmitter
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Sep 29, 2024
1 parent 3ece2bd commit 43de109
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useLazyRef } from '../../hooks/useLazyRef';

import type { RNIModalSheetViewProps, RNIModalSheetViewRef, } from './RNIModalSheetViewTypes';
import type { ModalMetrics } from '../../types/ModalMetrics';
import type { ModalSheetViewEventEmitter } from '../../functions/ModalSheetViewEventEmitter';
import type { ModalSheetViewEventEmitter } from '../../types/ModalSheetViewEventEmitter';


export const RNIModalSheetView = React.forwardRef<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { StateReactTag, StateViewID } from "react-native-ios-utilities";
import type { RNIModalSheetNativeViewProps } from "./RNIModalSheetNativeView";

import type { ModalMetrics } from "../../types/ModalMetrics";
import type { ModalSheetViewEventEmitter } from "../../functions/ModalSheetViewEventEmitter";
import type { ModalSheetViewEventEmitter } from "../../types/ModalSheetViewEventEmitter";


export type RNIModalSheetViewRef = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { TSEventEmitter } from '@dominicstop/ts-event-emitter';
import type { RemapObject } from 'react-native-ios-utilities';
import type { OnModalDidHideEventPayload, OnModalDidPresentEventPayload, OnModalDidShowEventPayload, OnModalWillHideEventPayload, OnModalWillPresentEventPayload, OnModalWillShowEventPayload } from '../types/CommonModalEvents';
import type { OnModalDidHideEventPayload, OnModalDidPresentEventPayload, OnModalDidShowEventPayload, OnModalWillHideEventPayload, OnModalWillPresentEventPayload, OnModalWillShowEventPayload } from './CommonModalEvents';


export enum ModalSheetViewEvents {
Expand Down

0 comments on commit 43de109

Please sign in to comment.