diff --git a/packages/rn-tester/NativeComponentExample/ios/RNTMyLegacyNativeViewManager.mm b/packages/rn-tester/NativeComponentExample/ios/RNTMyLegacyNativeViewManager.mm
index 93a65a45e9be0e..f591d26f7d87b6 100644
--- a/packages/rn-tester/NativeComponentExample/ios/RNTMyLegacyNativeViewManager.mm
+++ b/packages/rn-tester/NativeComponentExample/ios/RNTMyLegacyNativeViewManager.mm
@@ -17,6 +17,11 @@ @interface RNTMyLegacyNativeViewManager : RCTViewManager
@implementation RNTMyLegacyNativeViewManager
++ (BOOL)requiresMainQueueSetup
+{
+ return NO;
+}
+
RCT_EXPORT_MODULE()
RCT_REMAP_VIEW_PROPERTY(color, backgroundColor, UIColor)
@@ -31,4 +36,8 @@ - (UIView *)view
return view;
}
+- (NSDictionary *)constantsToExport
+{
+ return @{@"PI" : @3.14};
+}
@end
diff --git a/packages/rn-tester/NativeComponentExample/js/MyNativeView.js b/packages/rn-tester/NativeComponentExample/js/MyNativeView.js
index f96a749e486774..24eefb84fc5b93 100644
--- a/packages/rn-tester/NativeComponentExample/js/MyNativeView.js
+++ b/packages/rn-tester/NativeComponentExample/js/MyNativeView.js
@@ -16,6 +16,7 @@ import RNTMyNativeView, {
} from './MyNativeViewNativeComponent';
import RNTMyLegacyNativeView from './MyLegacyViewNativeComponent';
import type {MyNativeViewType} from './MyNativeViewNativeComponent';
+import {UIManager} from 'react-native';
const colors = [
'#0000FF',
@@ -76,6 +77,10 @@ export default function MyNativeView(props: {}): React.Node {
}
/>
HSBA: {hsba.toString()}
+
+ Constants From Interop Layer:{' '}
+ {UIManager.RNTMyLegacyNativeView.Constants.PI}
+