Skip to content

Commit

Permalink
🛠 Refactor: Rename to OnModalWillPresentEventPayload
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Sep 28, 2024
1 parent 8dd5a8e commit 114f146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/CommonModalEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { BubblingEventHandler } from 'react-native/Libraries/Types/CodegenT
// MARK: Event Objects
// -------------------

export type OnModalWillPresentPayload = Readonly<{
export type OnModalWillPresentEventPayload = Readonly<{
isAnimated: boolean;
}>;

Expand Down Expand Up @@ -34,7 +34,7 @@ export type OnModalDidHideEventPayload = Readonly<{
// ------------

export type OnModalWillPresentEvent =
BubblingEventHandler<OnModalWillPresentPayload>;
BubblingEventHandler<OnModalWillPresentEventPayload>;

export type OnModalDidPresentEvent =
BubblingEventHandler<OnModalDidPresentEventPayload>;
Expand Down

0 comments on commit 114f146

Please sign in to comment.