diff --git a/src/fabric/ScreenNativeComponent.ts b/src/fabric/ScreenNativeComponent.ts index e7c33807e6..b6f0b71e3e 100644 --- a/src/fabric/ScreenNativeComponent.ts +++ b/src/fabric/ScreenNativeComponent.ts @@ -69,6 +69,7 @@ export interface NativeProps extends ViewProps { onHeaderHeightChange?: BubblingEventHandler; onTransitionProgress?: BubblingEventHandler; onGestureCancel?: BubblingEventHandler; + onHeaderBackButtonClicked?: BubblingEventHandler; sheetAllowedDetents?: WithDefault; sheetLargestUndimmedDetent?: WithDefault; sheetGrabberVisible?: WithDefault; @@ -96,7 +97,6 @@ export interface NativeProps extends ViewProps { navigationBarColor?: ColorValue; navigationBarHidden?: boolean; nativeBackButtonDismissalEnabled?: boolean; - onHeaderBackButtonClicked?: BubblingEventHandler; } export default codegenNativeComponent('RNSScreen', {