Skip to content

Commit 8339ebc

Browse files
committed
Add containerAccessibilityViewIsModal prop on native component - JS
part The prop defaults to `true` due to backward compatibility reasons. I believe this should be changed with major version change.
1 parent fd9e458 commit 8339ebc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/fabric/FullWindowOverlayNativeComponent.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
44
import type { ViewProps } from 'react-native';
5+
import { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
56

6-
interface NativeProps extends ViewProps {}
7+
// Internal export, not part of stable library API.
8+
export interface NativeProps extends ViewProps {
9+
containerAccessibilityViewIsModal?: WithDefault<boolean, true>;
10+
}
711

812
export default codegenNativeComponent<NativeProps>('RNSFullWindowOverlay', {
913
interfaceOnly: true,

0 commit comments

Comments
 (0)