From d99d390b33bad06c7c6bc437454294c59632518f Mon Sep 17 00:00:00 2001 From: Eric Rozell Date: Mon, 1 May 2023 08:39:30 -0700 Subject: [PATCH] Replace 'React' with 'react' in rntester examples Summary: Updates a few imports in RNTester to 'react' as we had previously done in: https://github.com/facebook/react-native/commit/0ee5f689 Differential Revision: D45445211 fbshipit-source-id: 559df27ed009ecb7c0d74d5b4f742281e6a88f04 --- .../js/examples/ActivityIndicator/ActivityIndicatorExample.js | 2 +- packages/rn-tester/js/examples/Crash/CrashExample.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rn-tester/js/examples/ActivityIndicator/ActivityIndicatorExample.js b/packages/rn-tester/js/examples/ActivityIndicator/ActivityIndicatorExample.js index b2d7c9e8ad849e..97df4046375aa7 100644 --- a/packages/rn-tester/js/examples/ActivityIndicator/ActivityIndicatorExample.js +++ b/packages/rn-tester/js/examples/ActivityIndicator/ActivityIndicatorExample.js @@ -8,7 +8,7 @@ * @flow strict-local */ -import type {Node} from 'React'; +import type {Node} from 'react'; import React, {useCallback, useEffect, useRef, useState} from 'react'; import {ActivityIndicator, StyleSheet, View} from 'react-native'; diff --git a/packages/rn-tester/js/examples/Crash/CrashExample.js b/packages/rn-tester/js/examples/Crash/CrashExample.js index 01b55b70ebbfe6..a1fe3a2cfe0849 100644 --- a/packages/rn-tester/js/examples/Crash/CrashExample.js +++ b/packages/rn-tester/js/examples/Crash/CrashExample.js @@ -8,7 +8,7 @@ * @flow strict-local */ -import type {Node} from 'React'; +import type {Node} from 'react'; import {Button} from 'react-native'; import React from 'react';