-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related: * `TODO:2023-03-04-13-15-11` - Refactor: Update Modal Events * `TODO:2023-03-30-15-52-42` - Update typescript types for modal event objects to match native event object.
- Loading branch information
1 parent
00da899
commit 963b961
Showing
3 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** Maps to `RNIModalFocusState` */ | ||
export type ModalFocusState = | ||
| 'INITIAL' | ||
| 'FOCUSING' | ||
| 'FOCUSED' | ||
| 'BLURRING' | ||
| 'BLURRED'; | ||
|
||
/** Maps to `RNIModalPresentationState` */ | ||
export type ModalPresentationState = | ||
| 'INITIAL' | ||
| 'PRESENTING_PROGRAMMATIC' | ||
| 'PRESENTING_UNKNOWN' | ||
| 'PRESENTED' | ||
| 'PRESENTED_UNKNOWN' | ||
| 'DISMISSING_GESTURE' | ||
| 'DISMISSING_PROGRAMMATIC' | ||
| 'DISMISSING_UNKNOWN' | ||
| 'DISMISS_GESTURE_CANCELLING' | ||
| 'DISMISSED'; |