diff --git a/native/chat/chat-tab-bar.react.js b/native/chat/chat-tab-bar.react.js --- a/native/chat/chat-tab-bar.react.js +++ b/native/chat/chat-tab-bar.react.js @@ -8,8 +8,7 @@ import { MaterialTopTabBar } from '@react-navigation/material-top-tabs'; import invariant from 'invariant'; import * as React from 'react'; -import { View } from 'react-native'; -import type { MeasureOnSuccessCallback } from 'react-native/Libraries/Renderer/shims/ReactNativeTypes'; +import { View, type MeasureOnSuccessCallback } from 'react-native'; import { TabBarItem } from 'react-native-tab-view'; import { diff --git a/native/chat/chat.react.js b/native/chat/chat.react.js --- a/native/chat/chat.react.js +++ b/native/chat/chat.react.js @@ -24,8 +24,12 @@ import { StackView } from '@react-navigation/stack'; import invariant from 'invariant'; import * as React from 'react'; -import { Platform, View, useWindowDimensions } from 'react-native'; -import type { MeasureOnSuccessCallback } from 'react-native/Libraries/Renderer/shims/ReactNativeTypes'; +import { + Platform, + View, + useWindowDimensions, + type MeasureOnSuccessCallback, +} from 'react-native'; import MessageStorePruner from 'lib/components/message-store-pruner.react.js'; import ThreadDraftUpdater from 'lib/components/thread-draft-updater.react.js'; diff --git a/native/components/nux-tips-context.react.js b/native/components/nux-tips-context.react.js --- a/native/components/nux-tips-context.react.js +++ b/native/components/nux-tips-context.react.js @@ -1,7 +1,7 @@ // @flow import * as React from 'react'; -import type { MeasureOnSuccessCallback } from 'react-native/Libraries/Renderer/shims/ReactNativeTypes'; +import type { MeasureOnSuccessCallback } from 'react-native'; import { values } from 'lib/utils/objects.js';