From 4c1dd906b081040c07c07acd648fbffe154bce8c Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Fri, 20 Dec 2024 13:00:12 -0800 Subject: [PATCH] Replace `React$Node` with `React.Node` Summary: Changelog: [Internal] Reviewed By: gkz Differential Revision: D67529040 fbshipit-source-id: 09221c6f866628bbf9174293124e650b7fffa967 --- .../rn-tester/js/examples/PixelRatio/PixelRatioExample.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rn-tester/js/examples/PixelRatio/PixelRatioExample.js b/packages/rn-tester/js/examples/PixelRatio/PixelRatioExample.js index a2954aa0e40..dc7839941e5 100644 --- a/packages/rn-tester/js/examples/PixelRatio/PixelRatioExample.js +++ b/packages/rn-tester/js/examples/PixelRatio/PixelRatioExample.js @@ -182,21 +182,21 @@ exports.examples = [ { title: 'Get pixel density', description: 'Get pixel density of the device.', - render(): React$Node { + render(): React.Node { return ; }, }, { title: 'Get font scale', description: 'Get the scaling factor for font sizes.', - render(): React$Node { + render(): React.Node { return ; }, }, { title: 'Get pixel size from layout size', description: 'layout size (dp) -> pixel size (px)', - render(): React$Node { + render(): React.Node { return ; }, }, @@ -204,7 +204,7 @@ exports.examples = [ title: 'Rounds a layout size to the nearest pixel', description: 'Rounds a layout size (dp) to the nearest layout size that corresponds to an integer number of pixels', - render(): React$Node { + render(): React.Node { return ; }, },