-
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.
⭐️ Impl:
ModalSheetView
State Change Events Scaffolding
- Loading branch information
1 parent
0c84b2b
commit f80e203
Showing
6 changed files
with
36 additions
and
4 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
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
20 changes: 17 additions & 3 deletions
20
src/native_components/RNIModalSheetVIew/RNIModalSheetViewEvents.ts
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 |
---|---|---|
@@ -1,7 +1,21 @@ | ||
|
||
import type { ViewProps } from 'react-native'; | ||
import type { OnDidSetViewIDEventPayload } from 'react-native-ios-utilities'; | ||
|
||
import type { BubblingEventHandler } from 'react-native/Libraries/Types/CodegenTypes'; | ||
|
||
|
||
// MARK: Event Objects | ||
// ------------------- | ||
|
||
export type OnModalSheetStateWillChangeEventPayload = Readonly<{ | ||
}>; | ||
|
||
export type OnModalSheetStateDidChangeEventPayload = Readonly<{ | ||
}>; | ||
|
||
// MARK: Events | ||
// ------------ | ||
|
||
export type OnModalSheetStateWillChangeEvent = | ||
BubblingEventHandler<OnModalSheetStateWillChangeEventPayload>; | ||
|
||
export type OnModalSheetStateDidChangeEvent = | ||
BubblingEventHandler<OnModalSheetStateDidChangeEventPayload>; |
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