react-native-tvos 0.86.0-2 → 0.86.3-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +1 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +1 -1
- package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +1 -1
- package/Libraries/Blob/React-RCTBlob.podspec +1 -1
- package/Libraries/Components/Button.js +2 -2
- package/Libraries/Components/TV/TVFocusGuideView.js +31 -0
- package/Libraries/Components/TV/useFocusEnterLeave.js +112 -0
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +1 -1
- package/Libraries/Components/TextInput/TextInput.flow.js +1 -1
- package/Libraries/Components/Touchable/Touchable.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.d.ts +1 -1
- package/Libraries/Components/View/ViewAccessibility.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/Timers/JSTimers.js +1 -1
- package/Libraries/Core/setUpNavigator.js +1 -1
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +1 -1
- package/Libraries/FBLazyVector/FBLazyVector.podspec +1 -1
- package/Libraries/Image/ImageSource.d.ts +1 -1
- package/Libraries/Image/RCTImageLoader.mm +1 -1
- package/Libraries/Image/React-RCTImage.podspec +1 -1
- package/Libraries/Interaction/PanResponder.js +1 -1
- package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
- package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
- package/Libraries/Network/React-RCTNetwork.podspec +1 -1
- package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
- package/Libraries/Renderer/README.md +2 -2
- package/Libraries/Required/RCTRequired.podspec +1 -1
- package/Libraries/Settings/React-RCTSettings.podspec +1 -1
- package/Libraries/Text/React-RCTText.podspec +1 -1
- package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
- package/Libraries/Utilities/PolyfillFunctions.js +1 -1
- package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
- package/README-core.md +6 -6
- package/README.md +2 -0
- package/React/Base/RCTVersion.m +2 -2
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +1 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +43 -17
- package/React/React-RCTFBReactNativeSpec.podspec +1 -1
- package/React/React-RCTFabric.podspec +1 -1
- package/React/Runtime/React-RCTRuntime.podspec +1 -1
- package/React/Views/ScrollView/RCTScrollView.m +1 -1
- package/React-Core.podspec +1 -1
- package/React.podspec +1 -1
- package/ReactAndroid/build.gradle.kts +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/publish.gradle +5 -5
- package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +5 -4
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt +49 -12
- package/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt +8 -4
- package/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt +2 -2
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.kt +4 -4
- package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.kt +1 -1
- package/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec +1 -1
- package/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec +1 -1
- package/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -1
- package/ReactCommon/React-FabricComponents.podspec +1 -1
- package/ReactCommon/React-FabricImage.podspec +1 -1
- package/ReactCommon/React-Mapbuffer.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/callinvoker/React-callinvoker.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +3 -3
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/hermes/executor/React-jsitracing.podspec +1 -1
- package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/jsinspector-modern/React-jsinspector.podspec +1 -1
- package/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec +1 -1
- package/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec +1 -1
- package/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec +1 -1
- package/ReactCommon/jsitooling/React-jsitooling.podspec +1 -1
- package/ReactCommon/logger/React-logger.podspec +1 -1
- package/ReactCommon/oscompat/React-oscompat.podspec +1 -1
- package/ReactCommon/react/debug/React-debug.podspec +1 -1
- package/ReactCommon/react/debug/redbox/JscSafeUrl.h +1 -1
- package/ReactCommon/react/featureflags/React-featureflags.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm +1 -1
- package/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/dom/NativeDOM.cpp +10 -4
- package/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/nativemodule/viewtransition/React-viewtransitionnativemodule.podspec +1 -1
- package/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec +1 -1
- package/ReactCommon/react/networking/React-networking.podspec +1 -1
- package/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec +1 -1
- package/ReactCommon/react/performance/timeline/React-performancetimeline.podspec +1 -1
- package/ReactCommon/react/renderer/animated/internal/primitives.h +1 -1
- package/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec +1 -1
- package/ReactCommon/react/renderer/core/EventEmitter.cpp +20 -4
- package/ReactCommon/react/renderer/core/ShadowNode.cpp +27 -19
- package/ReactCommon/react/renderer/core/ShadowNodeFamily.h +2 -0
- package/ReactCommon/react/renderer/css/React-renderercss.podspec +1 -1
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +1 -1
- package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
- package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
- package/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp +1 -1
- package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
- package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTFontUtils.mm +1 -1
- package/ReactCommon/react/renderer/uimanager/UIManager.cpp +58 -53
- package/ReactCommon/react/renderer/uimanager/tests/FabricUIManagerTest.cpp +144 -3
- package/ReactCommon/react/runtime/React-RuntimeCore.podspec +1 -1
- package/ReactCommon/react/runtime/React-RuntimeHermes.podspec +1 -1
- package/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec +1 -1
- package/ReactCommon/react/timing/React-timing.podspec +1 -1
- package/ReactCommon/react/utils/React-utils.podspec +1 -1
- package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
- package/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +1 -1
- package/ReactCommon/yoga/Yoga.podspec +2 -2
- package/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp +2 -1
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp +11 -7
- package/ReactCommon/yoga/yoga/algorithm/CalculateLayout.h +1 -1
- package/package.json +11 -11
- package/scripts/cocoapods/spm.rb +1 -1
- package/scripts/cocoapods/utils.rb +2 -2
- package/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template +1 -1
- package/scripts/codegen/templates/ReactCodegen.podspec.template +1 -1
- package/scripts/ios-configure-glog.sh +1 -1
- package/sdks/.hermesv1version +1 -1
- package/sdks/hermes-engine/hermes-engine.podspec +7 -2
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/types/HostInstance.js +1 -1
- package/src/types/globals.d.ts +2 -2
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/ReactNativeDependencies.podspec +1 -1
- package/third-party-podspecs/glog.podspec +1 -1
- package/types/public/ReactNativeTVTypes.d.ts +12 -1
- package/types/public/ReactNativeTypes.d.ts +2 -2
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +101 -0
- package/types_generated/Libraries/Alert/Alert.d.ts +55 -0
- package/types_generated/Libraries/Animated/Animated.d.ts +14 -0
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +30 -0
- package/types_generated/Libraries/Animated/AnimatedExports.d.ts +191 -0
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +128 -0
- package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +13 -0
- package/types_generated/Libraries/Animated/Easing.d.ts +171 -0
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +35 -0
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +42 -0
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +130 -0
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +54 -0
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +22 -0
- package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +18 -0
- package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +23 -0
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +22 -0
- package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +18 -0
- package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +19 -0
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +44 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +80 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +38 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +47 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +30 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +32 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +22 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +21 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +126 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +135 -0
- package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +15 -0
- package/types_generated/Libraries/Animated/useAnimatedColor.d.ts +16 -0
- package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +15 -0
- package/types_generated/Libraries/Animated/useAnimatedValueXY.d.ts +18 -0
- package/types_generated/Libraries/AppState/AppState.d.ts +63 -0
- package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +17 -0
- package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +39 -0
- package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +20 -0
- package/types_generated/Libraries/Blob/Blob.d.ts +80 -0
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +27 -0
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +232 -0
- package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +20 -0
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +84 -0
- package/types_generated/Libraries/Components/Button.d.ts +247 -0
- package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +38 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +17 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +27 -0
- package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +176 -0
- package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +146 -0
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +73 -0
- package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +23 -0
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +146 -0
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +48 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +32 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +50 -0
- package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +113 -0
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +33 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +581 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +24 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponent.d.ts +21 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewNativeComponentType.d.ts +140 -0
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +36 -0
- package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +222 -0
- package/types_generated/Libraries/Components/Switch/AndroidSwitchNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +138 -0
- package/types_generated/Libraries/Components/Switch/SwitchNativeComponent.d.ts +14 -0
- package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +23 -0
- package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +21 -0
- package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +96 -0
- package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +97 -0
- package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +123 -0
- package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +24 -0
- package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +20 -0
- package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +86 -0
- package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +47 -0
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +1005 -0
- package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +54 -0
- package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +99 -0
- package/types_generated/Libraries/Components/Touchable/Touchable.d.ts +257 -0
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +51 -0
- package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +192 -0
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +35 -0
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +121 -0
- package/types_generated/Libraries/Components/View/View.d.ts +30 -0
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +415 -0
- package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +39 -0
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +367 -0
- package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +27 -0
- package/types_generated/Libraries/Core/ExceptionsManager.d.ts +43 -0
- package/types_generated/Libraries/Core/ExtendedError.d.ts +26 -0
- package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +17 -0
- package/types_generated/Libraries/Core/RawEventEmitter.d.ts +26 -0
- package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +27 -0
- package/types_generated/Libraries/Core/ReactNativeVersion.d.ts +48 -0
- package/types_generated/Libraries/Core/registerCallableModule.d.ts +18 -0
- package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +42 -0
- package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +19 -0
- package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +18 -0
- package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +21 -0
- package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +71 -0
- package/types_generated/Libraries/Image/Image.d.ts +18 -0
- package/types_generated/Libraries/Image/ImageBackground.d.ts +44 -0
- package/types_generated/Libraries/Image/ImageProps.d.ts +512 -0
- package/types_generated/Libraries/Image/ImageResizeMode.d.ts +17 -0
- package/types_generated/Libraries/Image/ImageSource.d.ts +94 -0
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +61 -0
- package/types_generated/Libraries/Interaction/InteractionManager.d.ts +117 -0
- package/types_generated/Libraries/Interaction/PanResponder.d.ts +228 -0
- package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +76 -0
- package/types_generated/Libraries/Linking/Linking.d.ts +68 -0
- package/types_generated/Libraries/Lists/FlatList.d.ts +317 -0
- package/types_generated/Libraries/Lists/SectionList.d.ts +172 -0
- package/types_generated/Libraries/Lists/VirtualizedList.d.ts +19 -0
- package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +19 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +78 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +71 -0
- package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +17 -0
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +49 -0
- package/types_generated/Libraries/LogBox/LogBox.d.ts +29 -0
- package/types_generated/Libraries/Modal/Modal.d.ts +110 -0
- package/types_generated/Libraries/NativeComponent/NativeComponentRegistry.d.ts +50 -0
- package/types_generated/Libraries/NativeModules/specs/NativeDialogManagerAndroid.d.ts +17 -0
- package/types_generated/Libraries/Network/FormData.d.ts +56 -0
- package/types_generated/Libraries/Network/RCTNetworking.d.ts +25 -0
- package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +22 -0
- package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +114 -0
- package/types_generated/Libraries/Network/convertRequestBody.d.ts +21 -0
- package/types_generated/Libraries/Performance/Systrace.d.ts +61 -0
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +129 -0
- package/types_generated/Libraries/Pressability/Pressability.d.ts +241 -0
- package/types_generated/Libraries/Pressability/usePressability.d.ts +27 -0
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +323 -0
- package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +14 -0
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +43 -0
- package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +73 -0
- package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +24 -0
- package/types_generated/Libraries/ReactNative/I18nManager.d.ts +23 -0
- package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +57 -0
- package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +31 -0
- package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +15 -0
- package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +36 -0
- package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +13 -0
- package/types_generated/Libraries/ReactNative/RootTag.d.ts +22 -0
- package/types_generated/Libraries/ReactNative/UIManager.d.ts +17 -0
- package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +25 -0
- package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +33 -0
- package/types_generated/Libraries/Renderer/shims/ReactFabric.d.ts +17 -0
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +155 -0
- package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +41 -0
- package/types_generated/Libraries/Settings/Settings.d.ts +21 -0
- package/types_generated/Libraries/Share/Share.d.ts +85 -0
- package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +15 -0
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +17 -0
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +27 -0
- package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +16 -0
- package/types_generated/Libraries/StyleSheet/Rect.d.ts +22 -0
- package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +153 -0
- package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +94 -0
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +851 -0
- package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +19 -0
- package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +17 -0
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +76 -0
- package/types_generated/Libraries/StyleSheet/processColor.d.ts +18 -0
- package/types_generated/Libraries/Text/Text.d.ts +30 -0
- package/types_generated/Libraries/Text/TextAncestorContext.d.ts +20 -0
- package/types_generated/Libraries/Text/TextNativeComponent.d.ts +41 -0
- package/types_generated/Libraries/Text/TextProps.d.ts +220 -0
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +35 -0
- package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +15 -0
- package/types_generated/Libraries/Types/CodegenTypes.d.ts +24 -0
- package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +14 -0
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +355 -0
- package/types_generated/Libraries/Types/RootTagTypes.d.ts +13 -0
- package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +17 -0
- package/types_generated/Libraries/UTFSequence.d.ts +39 -0
- package/types_generated/Libraries/Utilities/Appearance.d.ts +31 -0
- package/types_generated/Libraries/Utilities/BackHandler.d.ts +27 -0
- package/types_generated/Libraries/Utilities/DevSettings.d.ts +34 -0
- package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +17 -0
- package/types_generated/Libraries/Utilities/Dimensions.d.ts +54 -0
- package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +17 -0
- package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +14 -0
- package/types_generated/Libraries/Utilities/PixelRatio.d.ts +110 -0
- package/types_generated/Libraries/Utilities/Platform.d.ts +16 -0
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +134 -0
- package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +19 -0
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +24 -0
- package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +33 -0
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +19 -0
- package/types_generated/Libraries/Utilities/useColorScheme.d.ts +15 -0
- package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +15 -0
- package/types_generated/Libraries/Vibration/Vibration.d.ts +29 -0
- package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +39 -0
- package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +67 -0
- package/types_generated/index.d.ts +184 -0
- package/types_generated/src/private/components/virtualcollection/FlingConstants.d.ts +20 -0
- package/types_generated/src/private/components/virtualcollection/Virtual.d.ts +46 -0
- package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +81 -0
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +23 -0
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumnGenerator.d.ts +17 -0
- package/types_generated/src/private/components/virtualcollection/dom/getScrollParent.d.ts +21 -0
- package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +23 -0
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +75 -0
- package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +107 -0
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +107 -0
- package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +28 -0
- package/types_generated/src/private/specs_DEPRECATED/components/AndroidSwitchNativeComponent.d.ts +53 -0
- package/types_generated/src/private/specs_DEPRECATED/components/ProgressBarAndroidNativeComponent.d.ts +36 -0
- package/types_generated/src/private/specs_DEPRECATED/components/SwitchNativeComponent.d.ts +51 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +26 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +46 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.d.ts +37 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +45 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +27 -0
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +109 -0
- package/types_generated/src/private/styles/composeStyles.d.ts +19 -0
- package/types_generated/src/private/types/HostComponent.d.ts +19 -0
- package/types_generated/src/private/types/HostInstance.d.ts +92 -0
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +27 -0
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +50 -0
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +33 -0
- package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +30 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +54 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +129 -0
- package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +24 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +36 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +23 -0
- package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +22 -0
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +229 -0
- package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +22 -0
- package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +25 -0
- package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +46 -0
- package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +73 -0
- package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +27 -0
- package/types_generated/tsconfig.json +3 -0
- package/types_generated/tsconfig.test.json +16 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<866b7fc84942006d924121e7211a9d72>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/EventEmitter/RCTEventEmitter.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
declare const RCTEventEmitter: {
|
|
14
|
+
register(eventEmitter: any): void;
|
|
15
|
+
};
|
|
16
|
+
declare const $$RCTEventEmitter: typeof RCTEventEmitter;
|
|
17
|
+
declare type $$RCTEventEmitter = typeof $$RCTEventEmitter;
|
|
18
|
+
export default $$RCTEventEmitter;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<c9932477114d441a9e1523e3f1841a79>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import RCTDeviceEventEmitter from "./RCTDeviceEventEmitter";
|
|
14
|
+
declare const RCTNativeAppEventEmitter: typeof RCTDeviceEventEmitter;
|
|
15
|
+
/**
|
|
16
|
+
* Deprecated - subclass NativeEventEmitter to create granular event modules instead of
|
|
17
|
+
* adding all event listeners directly to RCTNativeAppEventEmitter.
|
|
18
|
+
*/
|
|
19
|
+
declare const $$RCTNativeAppEventEmitter: typeof RCTNativeAppEventEmitter;
|
|
20
|
+
declare type $$RCTNativeAppEventEmitter = typeof $$RCTNativeAppEventEmitter;
|
|
21
|
+
export default $$RCTNativeAppEventEmitter;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<c7e80fbc1430dde11f1179ecbb46bf9d>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Image/AssetSourceResolver.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export type ResolvedAssetSource = {
|
|
14
|
+
readonly width: number | undefined;
|
|
15
|
+
readonly height: number | undefined;
|
|
16
|
+
readonly uri: string;
|
|
17
|
+
readonly scale: number;
|
|
18
|
+
};
|
|
19
|
+
type AssetDestPathResolver = "android" | "generic";
|
|
20
|
+
type PackagerAsset = Readonly<{
|
|
21
|
+
fileSystemLocation: string;
|
|
22
|
+
httpServerLocation: string;
|
|
23
|
+
width: number | undefined;
|
|
24
|
+
height: number | undefined;
|
|
25
|
+
scales: Array<number>;
|
|
26
|
+
hash: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
resolver?: AssetDestPathResolver;
|
|
30
|
+
}>;
|
|
31
|
+
declare class AssetSourceResolver {
|
|
32
|
+
serverUrl: null | undefined | string;
|
|
33
|
+
jsbundleUrl: null | undefined | string;
|
|
34
|
+
asset: PackagerAsset;
|
|
35
|
+
constructor(serverUrl: null | undefined | string, jsbundleUrl: null | undefined | string, asset: PackagerAsset);
|
|
36
|
+
isLoadedFromServer(): boolean;
|
|
37
|
+
isLoadedFromFileSystem(): boolean;
|
|
38
|
+
defaultAsset(): ResolvedAssetSource;
|
|
39
|
+
getAssetUsingResolver(resolver: AssetDestPathResolver): ResolvedAssetSource;
|
|
40
|
+
/**
|
|
41
|
+
* Returns an absolute URL which can be used to fetch the asset
|
|
42
|
+
* from the devserver
|
|
43
|
+
*/
|
|
44
|
+
assetServerURL(): ResolvedAssetSource;
|
|
45
|
+
/**
|
|
46
|
+
* Resolves to just the scaled asset filename
|
|
47
|
+
* E.g. 'assets/AwesomeModule/icon@2x.png'
|
|
48
|
+
*/
|
|
49
|
+
scaledAssetPath(): ResolvedAssetSource;
|
|
50
|
+
/**
|
|
51
|
+
* Resolves to where the bundle is running from, with a scaled asset filename
|
|
52
|
+
* E.g. 'file:///sdcard/bundle/assets/AwesomeModule/icon@2x.png'
|
|
53
|
+
*/
|
|
54
|
+
scaledAssetURLNearBundle(): ResolvedAssetSource;
|
|
55
|
+
/**
|
|
56
|
+
* The default location of assets bundled with the app, located by
|
|
57
|
+
* resource identifier
|
|
58
|
+
* The Android resource system picks the correct scale.
|
|
59
|
+
* E.g. 'assets_awesomemodule_icon'
|
|
60
|
+
*/
|
|
61
|
+
resourceIdentifierWithoutScale(): ResolvedAssetSource;
|
|
62
|
+
/**
|
|
63
|
+
* If the jsbundle is running from a sideload location, this resolves assets
|
|
64
|
+
* relative to its location
|
|
65
|
+
* E.g. 'file:///sdcard/AwesomeModule/drawable-mdpi/icon.png'
|
|
66
|
+
*/
|
|
67
|
+
drawableFolderInBundle(): ResolvedAssetSource;
|
|
68
|
+
fromSource(source: string): ResolvedAssetSource;
|
|
69
|
+
static pickScale: (scales: Array<number>, deviceScale?: number) => number;
|
|
70
|
+
}
|
|
71
|
+
export default AssetSourceResolver;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<8e58d35e5123fd1579ec8384649e6c33>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Image/Image.js.flow
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { ImageType } from "./ImageTypes.flow";
|
|
14
|
+
export type { ImageProgressEventIOS, ImagePropsIOS, ImagePropsAndroid, ImageSourcePropType, ImageLoadEvent, ImageErrorEvent, ImagePropsBase, ImageProps, ImageBackgroundProps } from "./ImageProps";
|
|
15
|
+
export type { ImageResolvedAssetSource, ImageSize } from "./ImageTypes.flow";
|
|
16
|
+
declare const $$Image: ImageType;
|
|
17
|
+
declare type $$Image = typeof $$Image;
|
|
18
|
+
export default $$Image;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<1844337981316782edf5d12f531c90fa>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Image/ImageBackground.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { ImageBackgroundProps } from "./ImageProps";
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
export type { ImageBackgroundProps } from "./ImageProps";
|
|
16
|
+
/**
|
|
17
|
+
* Very simple drop-in replacement for <Image> which supports nesting views.
|
|
18
|
+
*
|
|
19
|
+
* ```ReactNativeWebPlayer
|
|
20
|
+
* import React, { Component } from 'react';
|
|
21
|
+
* import { AppRegistry, View, ImageBackground, Text } from 'react-native';
|
|
22
|
+
*
|
|
23
|
+
* class DisplayAnImageBackground extends Component {
|
|
24
|
+
* render() {
|
|
25
|
+
* return (
|
|
26
|
+
* <ImageBackground
|
|
27
|
+
* style={{width: 50, height: 50}}
|
|
28
|
+
* source={{uri: 'https://reactnative.dev/img/opengraph.png'}}
|
|
29
|
+
* >
|
|
30
|
+
* <Text>React</Text>
|
|
31
|
+
* </ImageBackground>
|
|
32
|
+
* );
|
|
33
|
+
* }
|
|
34
|
+
* }
|
|
35
|
+
*
|
|
36
|
+
* // App registration and rendering
|
|
37
|
+
* AppRegistry.registerComponent('DisplayAnImageBackground', () => DisplayAnImageBackground);
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
declare class ImageBackground extends React.Component<ImageBackgroundProps> {
|
|
41
|
+
setNativeProps(props: {}): void;
|
|
42
|
+
render(): React.ReactNode;
|
|
43
|
+
}
|
|
44
|
+
export default ImageBackground;
|
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<ef26bd5137f29a3aed508e9f185f4e0a>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/Libraries/Image/ImageProps.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { ViewProps } from "../Components/View/ViewPropTypes";
|
|
14
|
+
import type { EdgeInsetsProp } from "../StyleSheet/EdgeInsetsPropType";
|
|
15
|
+
import type { ColorValue, ImageStyleProp, ViewStyleProp } from "../StyleSheet/StyleSheet";
|
|
16
|
+
import type { LayoutChangeEvent, NativeSyntheticEvent } from "../Types/CoreEventTypes";
|
|
17
|
+
import type { ImageResizeMode } from "./ImageResizeMode";
|
|
18
|
+
import type { ImageSource, ImageURISource } from "./ImageSource";
|
|
19
|
+
import type { ImageType } from "./ImageTypes.flow";
|
|
20
|
+
import * as React from "react";
|
|
21
|
+
export type ImageSourcePropType = ImageSource;
|
|
22
|
+
type ImageProgressEventDataIOS = {
|
|
23
|
+
loaded: number;
|
|
24
|
+
total: number;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @see ImagePropsIOS.onProgress
|
|
28
|
+
*/
|
|
29
|
+
export type ImageProgressEventIOS = NativeSyntheticEvent<Readonly<ImageProgressEventDataIOS>>;
|
|
30
|
+
type ImageErrorEventData = {
|
|
31
|
+
error: string;
|
|
32
|
+
};
|
|
33
|
+
export type ImageErrorEvent = NativeSyntheticEvent<Readonly<ImageErrorEventData>>;
|
|
34
|
+
type ImageLoadEventData = {
|
|
35
|
+
source: {
|
|
36
|
+
height: number;
|
|
37
|
+
width: number;
|
|
38
|
+
uri: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export type ImageLoadEvent = NativeSyntheticEvent<Readonly<ImageLoadEventData>>;
|
|
42
|
+
export type ImagePropsIOS = Readonly<{
|
|
43
|
+
/**
|
|
44
|
+
* A static image to display while loading the image source.
|
|
45
|
+
*
|
|
46
|
+
* See https://reactnative.dev/docs/image#defaultsource
|
|
47
|
+
*/
|
|
48
|
+
defaultSource?: ImageSource | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Invoked when a partial load of the image is complete.
|
|
51
|
+
*
|
|
52
|
+
* See https://reactnative.dev/docs/image#onpartialload
|
|
53
|
+
*/
|
|
54
|
+
onPartialLoad?: (() => void) | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Invoked on download progress with `{nativeEvent: {loaded, total}}`.
|
|
57
|
+
*
|
|
58
|
+
* See https://reactnative.dev/docs/image#onprogress
|
|
59
|
+
*/
|
|
60
|
+
onProgress?: ((event: ImageProgressEventIOS) => void) | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
export type ImagePropsAndroid = Readonly<{
|
|
63
|
+
/**
|
|
64
|
+
* similarly to `source`, this property represents the resource used to render
|
|
65
|
+
* the loading indicator for the image, displayed until image is ready to be
|
|
66
|
+
* displayed, typically after when it got downloaded from network.
|
|
67
|
+
*/
|
|
68
|
+
loadingIndicatorSource?: (number | Readonly<ImageURISource>) | undefined;
|
|
69
|
+
progressiveRenderingEnabled?: boolean | undefined;
|
|
70
|
+
fadeDuration?: number | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* The mechanism that should be used to resize the image when the image's dimensions
|
|
73
|
+
* differ from the image view's dimensions. Defaults to `auto`.
|
|
74
|
+
*
|
|
75
|
+
* - `auto`: Use heuristics to pick between `resize` and `scale`.
|
|
76
|
+
*
|
|
77
|
+
* - `resize`: A software operation which changes the encoded image in memory before it
|
|
78
|
+
* gets decoded. This should be used instead of `scale` when the image is much larger
|
|
79
|
+
* than the view.
|
|
80
|
+
*
|
|
81
|
+
* - `scale`: The image gets drawn downscaled or upscaled. Compared to `resize`, `scale` is
|
|
82
|
+
* faster (usually hardware accelerated) and produces higher quality images. This
|
|
83
|
+
* should be used if the image is smaller than the view. It should also be used if the
|
|
84
|
+
* image is slightly bigger than the view.
|
|
85
|
+
*
|
|
86
|
+
* - `none`: No sampling is performed and the image is displayed in its full resolution. This
|
|
87
|
+
* should only be used in rare circumstances because it is considered unsafe as Android will
|
|
88
|
+
* throw a runtime exception when trying to render images that consume too much memory.
|
|
89
|
+
*
|
|
90
|
+
* More details about `resize` and `scale` can be found at http://frescolib.org/docs/resizing-rotating.html.
|
|
91
|
+
*
|
|
92
|
+
* @platform android
|
|
93
|
+
*/
|
|
94
|
+
resizeMethod?: ("auto" | "resize" | "scale" | "none") | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* When the `resizeMethod` is set to `resize`, the destination dimensions are
|
|
97
|
+
* multiplied by this value. The `scale` method is used to perform the
|
|
98
|
+
* remainder of the resize.
|
|
99
|
+
* This is used to produce higher quality images when resizing to small dimensions.
|
|
100
|
+
* Defaults to 1.0.
|
|
101
|
+
*/
|
|
102
|
+
resizeMultiplier?: number | undefined;
|
|
103
|
+
}>;
|
|
104
|
+
export type ImagePropsBase = Readonly<Omit<Omit<ViewProps, "style">, keyof {
|
|
105
|
+
/**
|
|
106
|
+
* When true, indicates the image is an accessibility element.
|
|
107
|
+
*
|
|
108
|
+
* See https://reactnative.dev/docs/image#accessible
|
|
109
|
+
*/
|
|
110
|
+
accessible?: boolean | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Internal prop to set an "Analytics Tag" that can will be set on the Image
|
|
113
|
+
*/
|
|
114
|
+
internal_analyticTag?: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* The text that's read by the screen reader when the user interacts with
|
|
117
|
+
* the image.
|
|
118
|
+
*
|
|
119
|
+
* See https://reactnative.dev/docs/image#accessibilitylabel
|
|
120
|
+
*/
|
|
121
|
+
accessibilityLabel?: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Alias for accessibilityLabel
|
|
124
|
+
* See https://reactnative.dev/docs/image#accessibilitylabel
|
|
125
|
+
*/
|
|
126
|
+
"aria-label"?: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Represents the nativeID of the associated label. When the assistive technology focuses on the component with this props.
|
|
129
|
+
*
|
|
130
|
+
* @platform android
|
|
131
|
+
*/
|
|
132
|
+
"aria-labelledby"?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* The text that's read by the screen reader when the user interacts with
|
|
135
|
+
* the image.
|
|
136
|
+
*
|
|
137
|
+
* See https://reactnative.dev/docs/image#alt
|
|
138
|
+
*/
|
|
139
|
+
alt?: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* blurRadius: the blur radius of the blur filter added to the image
|
|
142
|
+
*
|
|
143
|
+
* See https://reactnative.dev/docs/image#blurradius
|
|
144
|
+
*/
|
|
145
|
+
blurRadius?: number | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* See https://reactnative.dev/docs/image#capinsets
|
|
148
|
+
*/
|
|
149
|
+
capInsets?: EdgeInsetsProp | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Adds the CORS related header to the request.
|
|
152
|
+
* Similar to crossorigin from HTML.
|
|
153
|
+
*
|
|
154
|
+
* See https://reactnative.dev/docs/image#crossorigin
|
|
155
|
+
*/
|
|
156
|
+
crossOrigin?: ("anonymous" | "use-credentials") | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Height of the image component.
|
|
159
|
+
*
|
|
160
|
+
* See https://reactnative.dev/docs/image#height
|
|
161
|
+
*/
|
|
162
|
+
height?: number;
|
|
163
|
+
/**
|
|
164
|
+
* Width of the image component.
|
|
165
|
+
*
|
|
166
|
+
* See https://reactnative.dev/docs/image#width
|
|
167
|
+
*/
|
|
168
|
+
width?: number;
|
|
169
|
+
/**
|
|
170
|
+
* Invoked on load error with `{nativeEvent: {error}}`.
|
|
171
|
+
*
|
|
172
|
+
* See https://reactnative.dev/docs/image#onerror
|
|
173
|
+
*/
|
|
174
|
+
onError?: ((event: ImageErrorEvent) => void) | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* onLayout function
|
|
177
|
+
*
|
|
178
|
+
* Invoked on mount and layout changes with
|
|
179
|
+
*
|
|
180
|
+
* {nativeEvent: { layout: {x, y, width, height} }}.
|
|
181
|
+
*
|
|
182
|
+
* See https://reactnative.dev/docs/image#onlayout
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* Invoked when load completes successfully.
|
|
188
|
+
*
|
|
189
|
+
* See https://reactnative.dev/docs/image#onload
|
|
190
|
+
*/
|
|
191
|
+
onLoad?: ((event: ImageLoadEvent) => void) | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Invoked when load either succeeds or fails.
|
|
194
|
+
*
|
|
195
|
+
* See https://reactnative.dev/docs/image#onloadend
|
|
196
|
+
*/
|
|
197
|
+
onLoadEnd?: (() => void) | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* Invoked on load start.
|
|
200
|
+
*
|
|
201
|
+
* See https://reactnative.dev/docs/image#onloadstart
|
|
202
|
+
*/
|
|
203
|
+
onLoadStart?: (() => void) | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* The image source (either a remote URL or a local file resource).
|
|
206
|
+
*
|
|
207
|
+
* This prop can also contain several remote URLs, specified together with their width and height and potentially with scale/other URI arguments.
|
|
208
|
+
* The native side will then choose the best uri to display based on the measured size of the image container.
|
|
209
|
+
* A cache property can be added to control how networked request interacts with the local cache.
|
|
210
|
+
*
|
|
211
|
+
* The currently supported formats are png, jpg, jpeg, bmp, gif, webp (Android only), psd (iOS only).
|
|
212
|
+
*
|
|
213
|
+
* See https://reactnative.dev/docs/image#source
|
|
214
|
+
*/
|
|
215
|
+
source?: ImageSource | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* A string indicating which referrer to use when fetching the resource.
|
|
218
|
+
* Similar to referrerpolicy from HTML.
|
|
219
|
+
*
|
|
220
|
+
* See https://reactnative.dev/docs/image#referrerpolicy
|
|
221
|
+
*/
|
|
222
|
+
referrerPolicy?: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* Determines how to resize the image when the frame doesn't match the raw
|
|
225
|
+
* image dimensions.
|
|
226
|
+
*
|
|
227
|
+
* 'cover': Scale the image uniformly (maintain the image's aspect ratio)
|
|
228
|
+
* so that both dimensions (width and height) of the image will be equal
|
|
229
|
+
* to or larger than the corresponding dimension of the view (minus padding).
|
|
230
|
+
*
|
|
231
|
+
* 'contain': Scale the image uniformly (maintain the image's aspect ratio)
|
|
232
|
+
* so that both dimensions (width and height) of the image will be equal to
|
|
233
|
+
* or less than the corresponding dimension of the view (minus padding).
|
|
234
|
+
*
|
|
235
|
+
* 'stretch': Scale width and height independently, This may change the
|
|
236
|
+
* aspect ratio of the src.
|
|
237
|
+
*
|
|
238
|
+
* 'repeat': Repeat the image to cover the frame of the view.
|
|
239
|
+
* The image will keep it's size and aspect ratio. (iOS only)
|
|
240
|
+
*
|
|
241
|
+
* 'center': Scale the image down so that it is completely visible,
|
|
242
|
+
* if bigger than the area of the view.
|
|
243
|
+
* The image will not be scaled up.
|
|
244
|
+
*
|
|
245
|
+
* 'none': Do not resize the image. The image will be displayed at its intrinsic size.
|
|
246
|
+
*
|
|
247
|
+
* See https://reactnative.dev/docs/image#resizemode
|
|
248
|
+
*/
|
|
249
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* A unique identifier for this element to be used in UI Automation
|
|
252
|
+
* testing scripts.
|
|
253
|
+
*
|
|
254
|
+
* See https://reactnative.dev/docs/image#testid
|
|
255
|
+
*/
|
|
256
|
+
testID?: string | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* Changes the color of all the non-transparent pixels to the tintColor.
|
|
259
|
+
*
|
|
260
|
+
* See https://reactnative.dev/docs/image#tintcolor
|
|
261
|
+
*/
|
|
262
|
+
tintColor?: ColorValue;
|
|
263
|
+
/**
|
|
264
|
+
* A string representing the resource identifier for the image. Similar to
|
|
265
|
+
* src from HTML.
|
|
266
|
+
*
|
|
267
|
+
* See https://reactnative.dev/docs/image#src
|
|
268
|
+
*/
|
|
269
|
+
src?: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* Similar to srcset from HTML.
|
|
272
|
+
*
|
|
273
|
+
* See https://reactnative.dev/docs/image#srcset
|
|
274
|
+
*/
|
|
275
|
+
srcSet?: string | undefined;
|
|
276
|
+
children?: never;
|
|
277
|
+
}> & {
|
|
278
|
+
/**
|
|
279
|
+
* When true, indicates the image is an accessibility element.
|
|
280
|
+
*
|
|
281
|
+
* See https://reactnative.dev/docs/image#accessible
|
|
282
|
+
*/
|
|
283
|
+
accessible?: boolean | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* Internal prop to set an "Analytics Tag" that can will be set on the Image
|
|
286
|
+
*/
|
|
287
|
+
internal_analyticTag?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* The text that's read by the screen reader when the user interacts with
|
|
290
|
+
* the image.
|
|
291
|
+
*
|
|
292
|
+
* See https://reactnative.dev/docs/image#accessibilitylabel
|
|
293
|
+
*/
|
|
294
|
+
accessibilityLabel?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* Alias for accessibilityLabel
|
|
297
|
+
* See https://reactnative.dev/docs/image#accessibilitylabel
|
|
298
|
+
*/
|
|
299
|
+
"aria-label"?: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* Represents the nativeID of the associated label. When the assistive technology focuses on the component with this props.
|
|
302
|
+
*
|
|
303
|
+
* @platform android
|
|
304
|
+
*/
|
|
305
|
+
"aria-labelledby"?: string | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* The text that's read by the screen reader when the user interacts with
|
|
308
|
+
* the image.
|
|
309
|
+
*
|
|
310
|
+
* See https://reactnative.dev/docs/image#alt
|
|
311
|
+
*/
|
|
312
|
+
alt?: string | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* blurRadius: the blur radius of the blur filter added to the image
|
|
315
|
+
*
|
|
316
|
+
* See https://reactnative.dev/docs/image#blurradius
|
|
317
|
+
*/
|
|
318
|
+
blurRadius?: number | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* See https://reactnative.dev/docs/image#capinsets
|
|
321
|
+
*/
|
|
322
|
+
capInsets?: EdgeInsetsProp | undefined;
|
|
323
|
+
/**
|
|
324
|
+
* Adds the CORS related header to the request.
|
|
325
|
+
* Similar to crossorigin from HTML.
|
|
326
|
+
*
|
|
327
|
+
* See https://reactnative.dev/docs/image#crossorigin
|
|
328
|
+
*/
|
|
329
|
+
crossOrigin?: ("anonymous" | "use-credentials") | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* Height of the image component.
|
|
332
|
+
*
|
|
333
|
+
* See https://reactnative.dev/docs/image#height
|
|
334
|
+
*/
|
|
335
|
+
height?: number;
|
|
336
|
+
/**
|
|
337
|
+
* Width of the image component.
|
|
338
|
+
*
|
|
339
|
+
* See https://reactnative.dev/docs/image#width
|
|
340
|
+
*/
|
|
341
|
+
width?: number;
|
|
342
|
+
/**
|
|
343
|
+
* Invoked on load error with `{nativeEvent: {error}}`.
|
|
344
|
+
*
|
|
345
|
+
* See https://reactnative.dev/docs/image#onerror
|
|
346
|
+
*/
|
|
347
|
+
onError?: ((event: ImageErrorEvent) => void) | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* onLayout function
|
|
350
|
+
*
|
|
351
|
+
* Invoked on mount and layout changes with
|
|
352
|
+
*
|
|
353
|
+
* {nativeEvent: { layout: {x, y, width, height} }}.
|
|
354
|
+
*
|
|
355
|
+
* See https://reactnative.dev/docs/image#onlayout
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
|
|
359
|
+
/**
|
|
360
|
+
* Invoked when load completes successfully.
|
|
361
|
+
*
|
|
362
|
+
* See https://reactnative.dev/docs/image#onload
|
|
363
|
+
*/
|
|
364
|
+
onLoad?: ((event: ImageLoadEvent) => void) | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* Invoked when load either succeeds or fails.
|
|
367
|
+
*
|
|
368
|
+
* See https://reactnative.dev/docs/image#onloadend
|
|
369
|
+
*/
|
|
370
|
+
onLoadEnd?: (() => void) | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* Invoked on load start.
|
|
373
|
+
*
|
|
374
|
+
* See https://reactnative.dev/docs/image#onloadstart
|
|
375
|
+
*/
|
|
376
|
+
onLoadStart?: (() => void) | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* The image source (either a remote URL or a local file resource).
|
|
379
|
+
*
|
|
380
|
+
* This prop can also contain several remote URLs, specified together with their width and height and potentially with scale/other URI arguments.
|
|
381
|
+
* The native side will then choose the best uri to display based on the measured size of the image container.
|
|
382
|
+
* A cache property can be added to control how networked request interacts with the local cache.
|
|
383
|
+
*
|
|
384
|
+
* The currently supported formats are png, jpg, jpeg, bmp, gif, webp (Android only), psd (iOS only).
|
|
385
|
+
*
|
|
386
|
+
* See https://reactnative.dev/docs/image#source
|
|
387
|
+
*/
|
|
388
|
+
source?: ImageSource | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* A string indicating which referrer to use when fetching the resource.
|
|
391
|
+
* Similar to referrerpolicy from HTML.
|
|
392
|
+
*
|
|
393
|
+
* See https://reactnative.dev/docs/image#referrerpolicy
|
|
394
|
+
*/
|
|
395
|
+
referrerPolicy?: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined;
|
|
396
|
+
/**
|
|
397
|
+
* Determines how to resize the image when the frame doesn't match the raw
|
|
398
|
+
* image dimensions.
|
|
399
|
+
*
|
|
400
|
+
* 'cover': Scale the image uniformly (maintain the image's aspect ratio)
|
|
401
|
+
* so that both dimensions (width and height) of the image will be equal
|
|
402
|
+
* to or larger than the corresponding dimension of the view (minus padding).
|
|
403
|
+
*
|
|
404
|
+
* 'contain': Scale the image uniformly (maintain the image's aspect ratio)
|
|
405
|
+
* so that both dimensions (width and height) of the image will be equal to
|
|
406
|
+
* or less than the corresponding dimension of the view (minus padding).
|
|
407
|
+
*
|
|
408
|
+
* 'stretch': Scale width and height independently, This may change the
|
|
409
|
+
* aspect ratio of the src.
|
|
410
|
+
*
|
|
411
|
+
* 'repeat': Repeat the image to cover the frame of the view.
|
|
412
|
+
* The image will keep it's size and aspect ratio. (iOS only)
|
|
413
|
+
*
|
|
414
|
+
* 'center': Scale the image down so that it is completely visible,
|
|
415
|
+
* if bigger than the area of the view.
|
|
416
|
+
* The image will not be scaled up.
|
|
417
|
+
*
|
|
418
|
+
* 'none': Do not resize the image. The image will be displayed at its intrinsic size.
|
|
419
|
+
*
|
|
420
|
+
* See https://reactnative.dev/docs/image#resizemode
|
|
421
|
+
*/
|
|
422
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* A unique identifier for this element to be used in UI Automation
|
|
425
|
+
* testing scripts.
|
|
426
|
+
*
|
|
427
|
+
* See https://reactnative.dev/docs/image#testid
|
|
428
|
+
*/
|
|
429
|
+
testID?: string | undefined;
|
|
430
|
+
/**
|
|
431
|
+
* Changes the color of all the non-transparent pixels to the tintColor.
|
|
432
|
+
*
|
|
433
|
+
* See https://reactnative.dev/docs/image#tintcolor
|
|
434
|
+
*/
|
|
435
|
+
tintColor?: ColorValue;
|
|
436
|
+
/**
|
|
437
|
+
* A string representing the resource identifier for the image. Similar to
|
|
438
|
+
* src from HTML.
|
|
439
|
+
*
|
|
440
|
+
* See https://reactnative.dev/docs/image#src
|
|
441
|
+
*/
|
|
442
|
+
src?: string | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* Similar to srcset from HTML.
|
|
445
|
+
*
|
|
446
|
+
* See https://reactnative.dev/docs/image#srcset
|
|
447
|
+
*/
|
|
448
|
+
srcSet?: string | undefined;
|
|
449
|
+
children?: never;
|
|
450
|
+
}>;
|
|
451
|
+
export type ImageProps = Readonly<Omit<ImagePropsIOS, keyof ImagePropsAndroid | keyof ImagePropsBase | keyof {
|
|
452
|
+
/**
|
|
453
|
+
* See https://reactnative.dev/docs/image#style
|
|
454
|
+
*/
|
|
455
|
+
style?: ImageStyleProp | undefined;
|
|
456
|
+
}> & Omit<ImagePropsAndroid, keyof ImagePropsBase | keyof {
|
|
457
|
+
/**
|
|
458
|
+
* See https://reactnative.dev/docs/image#style
|
|
459
|
+
*/
|
|
460
|
+
style?: ImageStyleProp | undefined;
|
|
461
|
+
}> & Omit<ImagePropsBase, keyof {
|
|
462
|
+
/**
|
|
463
|
+
* See https://reactnative.dev/docs/image#style
|
|
464
|
+
*/
|
|
465
|
+
style?: ImageStyleProp | undefined;
|
|
466
|
+
}> & {
|
|
467
|
+
/**
|
|
468
|
+
* See https://reactnative.dev/docs/image#style
|
|
469
|
+
*/
|
|
470
|
+
style?: ImageStyleProp | undefined;
|
|
471
|
+
}>;
|
|
472
|
+
export type ImageBackgroundProps = Readonly<Omit<ImageProps, keyof {
|
|
473
|
+
children?: React.ReactNode;
|
|
474
|
+
/**
|
|
475
|
+
* Style applied to the outer View component
|
|
476
|
+
*
|
|
477
|
+
* See https://reactnative.dev/docs/imagebackground#style
|
|
478
|
+
*/
|
|
479
|
+
style?: ViewStyleProp | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* Style applied to the inner Image component
|
|
482
|
+
*
|
|
483
|
+
* See https://reactnative.dev/docs/imagebackground#imagestyle
|
|
484
|
+
*/
|
|
485
|
+
imageStyle?: ImageStyleProp | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* Allows to set a reference to the inner Image component
|
|
488
|
+
*
|
|
489
|
+
* See https://reactnative.dev/docs/imagebackground#imageref
|
|
490
|
+
*/
|
|
491
|
+
imageRef?: React.Ref<React.ComponentRef<ImageType>>;
|
|
492
|
+
}> & {
|
|
493
|
+
children?: React.ReactNode;
|
|
494
|
+
/**
|
|
495
|
+
* Style applied to the outer View component
|
|
496
|
+
*
|
|
497
|
+
* See https://reactnative.dev/docs/imagebackground#style
|
|
498
|
+
*/
|
|
499
|
+
style?: ViewStyleProp | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* Style applied to the inner Image component
|
|
502
|
+
*
|
|
503
|
+
* See https://reactnative.dev/docs/imagebackground#imagestyle
|
|
504
|
+
*/
|
|
505
|
+
imageStyle?: ImageStyleProp | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* Allows to set a reference to the inner Image component
|
|
508
|
+
*
|
|
509
|
+
* See https://reactnative.dev/docs/imagebackground#imageref
|
|
510
|
+
*/
|
|
511
|
+
imageRef?: React.Ref<React.ComponentRef<ImageType>>;
|
|
512
|
+
}>;
|