react-native-tvos 0.87.1-0 → 0.87.1-1

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.
Files changed (240) hide show
  1. package/Libraries/Core/ReactNativeVersion.js +1 -1
  2. package/React/Base/RCTVersion.m +1 -1
  3. package/ReactAndroid/gradle.properties +1 -1
  4. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  5. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  6. package/package.json +2 -2
  7. package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +96 -0
  8. package/types_generated/Libraries/Alert/Alert.d.ts +92 -0
  9. package/types_generated/Libraries/Animated/Animated.d.ts +14 -0
  10. package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +30 -0
  11. package/types_generated/Libraries/Animated/AnimatedExports.d.ts +191 -0
  12. package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +232 -0
  13. package/types_generated/Libraries/Animated/AnimatedPlatformConfig.d.ts +13 -0
  14. package/types_generated/Libraries/Animated/Easing.d.ts +172 -0
  15. package/types_generated/Libraries/Animated/animations/Animation.d.ts +35 -0
  16. package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +42 -0
  17. package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +130 -0
  18. package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +54 -0
  19. package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +22 -0
  20. package/types_generated/Libraries/Animated/components/AnimatedImage.d.ts +18 -0
  21. package/types_generated/Libraries/Animated/components/AnimatedScrollView.d.ts +23 -0
  22. package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +22 -0
  23. package/types_generated/Libraries/Animated/components/AnimatedText.d.ts +18 -0
  24. package/types_generated/Libraries/Animated/components/AnimatedView.d.ts +19 -0
  25. package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +44 -0
  26. package/types_generated/Libraries/Animated/nodes/AnimatedAddition.d.ts +22 -0
  27. package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +80 -0
  28. package/types_generated/Libraries/Animated/nodes/AnimatedDiffClamp.d.ts +22 -0
  29. package/types_generated/Libraries/Animated/nodes/AnimatedDivision.d.ts +22 -0
  30. package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +38 -0
  31. package/types_generated/Libraries/Animated/nodes/AnimatedModulo.d.ts +22 -0
  32. package/types_generated/Libraries/Animated/nodes/AnimatedMultiplication.d.ts +22 -0
  33. package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +50 -0
  34. package/types_generated/Libraries/Animated/nodes/AnimatedProps.d.ts +30 -0
  35. package/types_generated/Libraries/Animated/nodes/AnimatedStyle.d.ts +32 -0
  36. package/types_generated/Libraries/Animated/nodes/AnimatedSubtraction.d.ts +22 -0
  37. package/types_generated/Libraries/Animated/nodes/AnimatedTracking.d.ts +21 -0
  38. package/types_generated/Libraries/Animated/nodes/AnimatedValue.d.ts +126 -0
  39. package/types_generated/Libraries/Animated/nodes/AnimatedValueXY.d.ts +135 -0
  40. package/types_generated/Libraries/Animated/nodes/AnimatedWithChildren.d.ts +15 -0
  41. package/types_generated/Libraries/Animated/useAnimatedColor.d.ts +16 -0
  42. package/types_generated/Libraries/Animated/useAnimatedValue.d.ts +15 -0
  43. package/types_generated/Libraries/Animated/useAnimatedValueXY.d.ts +18 -0
  44. package/types_generated/Libraries/AppState/AppState.d.ts +82 -0
  45. package/types_generated/Libraries/BatchedBridge/BatchedBridge.d.ts +17 -0
  46. package/types_generated/Libraries/BatchedBridge/MessageQueue.d.ts +39 -0
  47. package/types_generated/Libraries/BatchedBridge/NativeModules.d.ts +27 -0
  48. package/types_generated/Libraries/Blob/Blob.d.ts +80 -0
  49. package/types_generated/Libraries/Blob/BlobTypes.d.ts +27 -0
  50. package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +223 -0
  51. package/types_generated/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.d.ts +20 -0
  52. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +133 -0
  53. package/types_generated/Libraries/Components/Button.d.ts +167 -0
  54. package/types_generated/Libraries/Components/Clipboard/Clipboard.d.ts +43 -0
  55. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +17 -0
  56. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.d.ts +27 -0
  57. package/types_generated/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.d.ts +157 -0
  58. package/types_generated/Libraries/Components/Keyboard/Keyboard.d.ts +115 -0
  59. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +82 -0
  60. package/types_generated/Libraries/Components/LayoutConformance/LayoutConformance.d.ts +23 -0
  61. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +170 -0
  62. package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +48 -0
  63. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +32 -0
  64. package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.d.ts +67 -0
  65. package/types_generated/Libraries/Components/RefreshControl/RefreshControl.d.ts +96 -0
  66. package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +31 -0
  67. package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +723 -0
  68. package/types_generated/Libraries/Components/ScrollView/ScrollViewContext.d.ts +24 -0
  69. package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +36 -0
  70. package/types_generated/Libraries/Components/StatusBar/StatusBar.d.ts +189 -0
  71. package/types_generated/Libraries/Components/Switch/Switch.d.ts +143 -0
  72. package/types_generated/Libraries/Components/TV/TVEventControl.d.ts +23 -0
  73. package/types_generated/Libraries/Components/TV/TVEventHandler.d.ts +34 -0
  74. package/types_generated/Libraries/Components/TV/TVFocusGuideView.d.ts +96 -0
  75. package/types_generated/Libraries/Components/TV/TVTextScrollView.d.ts +97 -0
  76. package/types_generated/Libraries/Components/TV/TVViewPropTypes.d.ts +123 -0
  77. package/types_generated/Libraries/Components/TV/tagForComponentOrHandle.d.ts +24 -0
  78. package/types_generated/Libraries/Components/TV/useTVEventHandler.d.ts +20 -0
  79. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +37 -0
  80. package/types_generated/Libraries/Components/TextInput/TextInput.d.ts +162 -0
  81. package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +1020 -0
  82. package/types_generated/Libraries/Components/TextInput/TextInputState.d.ts +54 -0
  83. package/types_generated/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +99 -0
  84. package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +62 -0
  85. package/types_generated/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +155 -0
  86. package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +47 -0
  87. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +121 -0
  88. package/types_generated/Libraries/Components/View/View.d.ts +34 -0
  89. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +426 -0
  90. package/types_generated/Libraries/Components/View/ViewNativeComponent.d.ts +38 -0
  91. package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +412 -0
  92. package/types_generated/Libraries/Core/Devtools/symbolicateStackTrace.d.ts +27 -0
  93. package/types_generated/Libraries/Core/ExceptionsManager.d.ts +43 -0
  94. package/types_generated/Libraries/Core/ExtendedError.d.ts +26 -0
  95. package/types_generated/Libraries/Core/NativeExceptionsManager.d.ts +17 -0
  96. package/types_generated/Libraries/Core/RawEventEmitter.d.ts +26 -0
  97. package/types_generated/Libraries/Core/ReactFiberErrorDialog.d.ts +27 -0
  98. package/types_generated/Libraries/Core/ReactNativeVersion.d.ts +48 -0
  99. package/types_generated/Libraries/Core/registerCallableModule.d.ts +18 -0
  100. package/types_generated/Libraries/EventEmitter/NativeEventEmitter.d.ts +75 -0
  101. package/types_generated/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +19 -0
  102. package/types_generated/Libraries/EventEmitter/RCTEventEmitter.d.ts +18 -0
  103. package/types_generated/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +24 -0
  104. package/types_generated/Libraries/Image/AssetSourceResolver.d.ts +60 -0
  105. package/types_generated/Libraries/Image/Image.d.ts +18 -0
  106. package/types_generated/Libraries/Image/ImageBackground.d.ts +55 -0
  107. package/types_generated/Libraries/Image/ImageProps.d.ts +462 -0
  108. package/types_generated/Libraries/Image/ImageResizeMode.d.ts +17 -0
  109. package/types_generated/Libraries/Image/ImageSource.d.ts +94 -0
  110. package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +62 -0
  111. package/types_generated/Libraries/Interaction/PanResponder.d.ts +234 -0
  112. package/types_generated/Libraries/LayoutAnimation/LayoutAnimation.d.ts +87 -0
  113. package/types_generated/Libraries/Linking/Linking.d.ts +76 -0
  114. package/types_generated/Libraries/Lists/FlatList.d.ts +316 -0
  115. package/types_generated/Libraries/Lists/SectionList.d.ts +177 -0
  116. package/types_generated/Libraries/Lists/VirtualizedList.d.ts +21 -0
  117. package/types_generated/Libraries/Lists/VirtualizedSectionList.d.ts +21 -0
  118. package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +78 -0
  119. package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +71 -0
  120. package/types_generated/Libraries/LogBox/Data/LogBoxSymbolication.d.ts +17 -0
  121. package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +49 -0
  122. package/types_generated/Libraries/LogBox/LogBox.d.ts +32 -0
  123. package/types_generated/Libraries/Modal/Modal.d.ts +145 -0
  124. package/types_generated/Libraries/NativeComponent/NativeComponentRegistry.d.ts +50 -0
  125. package/types_generated/Libraries/Network/FormData.d.ts +56 -0
  126. package/types_generated/Libraries/Network/RCTNetworking.d.ts +25 -0
  127. package/types_generated/Libraries/Network/RCTNetworkingEventDefinitions.flow.d.ts +22 -0
  128. package/types_generated/Libraries/Network/XMLHttpRequest.d.ts +114 -0
  129. package/types_generated/Libraries/Network/convertRequestBody.d.ts +21 -0
  130. package/types_generated/Libraries/Performance/Systrace.d.ts +71 -0
  131. package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +139 -0
  132. package/types_generated/Libraries/Pressability/Pressability.d.ts +241 -0
  133. package/types_generated/Libraries/Pressability/usePressability.d.ts +27 -0
  134. package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +327 -0
  135. package/types_generated/Libraries/ReactNative/AppRegistry.d.ts +14 -0
  136. package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +43 -0
  137. package/types_generated/Libraries/ReactNative/AppRegistryImpl.d.ts +120 -0
  138. package/types_generated/Libraries/ReactNative/DisplayMode.d.ts +24 -0
  139. package/types_generated/Libraries/ReactNative/I18nManager.d.ts +42 -0
  140. package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +57 -0
  141. package/types_generated/Libraries/ReactNative/NativeI18nManager.d.ts +17 -0
  142. package/types_generated/Libraries/ReactNative/NativeUIManager.d.ts +17 -0
  143. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.d.ts +31 -0
  144. package/types_generated/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.d.ts +15 -0
  145. package/types_generated/Libraries/ReactNative/RendererImplementation.d.ts +36 -0
  146. package/types_generated/Libraries/ReactNative/RendererProxy.d.ts +13 -0
  147. package/types_generated/Libraries/ReactNative/RootTag.d.ts +22 -0
  148. package/types_generated/Libraries/ReactNative/UIManager.d.ts +17 -0
  149. package/types_generated/Libraries/ReactNative/requireNativeComponent.d.ts +25 -0
  150. package/types_generated/Libraries/ReactPrivate/ReactNativePrivateInterface.d.ts +17 -0
  151. package/types_generated/Libraries/Renderer/shims/ReactFabric.d.ts +17 -0
  152. package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +155 -0
  153. package/types_generated/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.d.ts +41 -0
  154. package/types_generated/Libraries/Settings/Settings.d.ts +21 -0
  155. package/types_generated/Libraries/Share/Share.d.ts +82 -0
  156. package/types_generated/Libraries/StyleSheet/EdgeInsetsPropType.d.ts +15 -0
  157. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +23 -0
  158. package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +27 -0
  159. package/types_generated/Libraries/StyleSheet/PointPropType.d.ts +16 -0
  160. package/types_generated/Libraries/StyleSheet/Rect.d.ts +22 -0
  161. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +153 -0
  162. package/types_generated/Libraries/StyleSheet/StyleSheetExports.d.ts +94 -0
  163. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +872 -0
  164. package/types_generated/Libraries/StyleSheet/flattenStyle.d.ts +19 -0
  165. package/types_generated/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.d.ts +17 -0
  166. package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +76 -0
  167. package/types_generated/Libraries/StyleSheet/processColor.d.ts +18 -0
  168. package/types_generated/Libraries/Text/Text.d.ts +34 -0
  169. package/types_generated/Libraries/Text/TextAncestorContext.d.ts +20 -0
  170. package/types_generated/Libraries/Text/TextNativeComponent.d.ts +41 -0
  171. package/types_generated/Libraries/Text/TextProps.d.ts +175 -0
  172. package/types_generated/Libraries/TurboModule/RCTExport.d.ts +35 -0
  173. package/types_generated/Libraries/TurboModule/TurboModuleRegistry.d.ts +15 -0
  174. package/types_generated/Libraries/Types/CodegenTypes.d.ts +24 -0
  175. package/types_generated/Libraries/Types/CodegenTypesNamespace.d.ts +14 -0
  176. package/types_generated/Libraries/Types/CoreEventTypes.d.ts +361 -0
  177. package/types_generated/Libraries/Types/RootTagTypes.d.ts +13 -0
  178. package/types_generated/Libraries/Types/UIManagerJSInterface.d.ts +17 -0
  179. package/types_generated/Libraries/UTFSequence.d.ts +39 -0
  180. package/types_generated/Libraries/Utilities/Appearance.d.ts +43 -0
  181. package/types_generated/Libraries/Utilities/BackHandler.d.ts +43 -0
  182. package/types_generated/Libraries/Utilities/DevSettings.d.ts +41 -0
  183. package/types_generated/Libraries/Utilities/DeviceInfo.d.ts +17 -0
  184. package/types_generated/Libraries/Utilities/Dimensions.d.ts +60 -0
  185. package/types_generated/Libraries/Utilities/NativeAppearance.d.ts +17 -0
  186. package/types_generated/Libraries/Utilities/NativeDeviceInfo.d.ts +14 -0
  187. package/types_generated/Libraries/Utilities/PixelRatio.d.ts +113 -0
  188. package/types_generated/Libraries/Utilities/Platform.d.ts +20 -0
  189. package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +193 -0
  190. package/types_generated/Libraries/Utilities/codegenNativeCommands.d.ts +19 -0
  191. package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +24 -0
  192. package/types_generated/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.d.ts +33 -0
  193. package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +19 -0
  194. package/types_generated/Libraries/Utilities/useColorScheme.d.ts +25 -0
  195. package/types_generated/Libraries/Utilities/useWindowDimensions.d.ts +21 -0
  196. package/types_generated/Libraries/Vibration/Vibration.d.ts +37 -0
  197. package/types_generated/Libraries/vendor/core/ErrorUtils.d.ts +39 -0
  198. package/types_generated/Libraries/vendor/emitter/EventEmitter.d.ts +67 -0
  199. package/types_generated/index.d.ts +190 -0
  200. package/types_generated/src/private/assets/AssetRegistry.d.ts +42 -0
  201. package/types_generated/src/private/components/virtualcollection/FlingConstants.d.ts +20 -0
  202. package/types_generated/src/private/components/virtualcollection/Virtual.d.ts +46 -0
  203. package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +81 -0
  204. package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +23 -0
  205. package/types_generated/src/private/components/virtualcollection/column/VirtualColumnGenerator.d.ts +17 -0
  206. package/types_generated/src/private/components/virtualcollection/dom/getScrollParent.d.ts +21 -0
  207. package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +23 -0
  208. package/types_generated/src/private/components/virtualview/VirtualView.d.ts +75 -0
  209. package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +107 -0
  210. package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +107 -0
  211. package/types_generated/src/private/devsupport/devmenu/DevMenu.d.ts +28 -0
  212. package/types_generated/src/private/renderer/events/dispatchNativeEvent.d.ts +26 -0
  213. package/types_generated/src/private/specs_DEPRECATED/modules/NativeAppearance.d.ts +27 -0
  214. package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +46 -0
  215. package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +45 -0
  216. package/types_generated/src/private/specs_DEPRECATED/modules/NativeI18nManager.d.ts +27 -0
  217. package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +109 -0
  218. package/types_generated/src/private/styles/composeStyles.d.ts +19 -0
  219. package/types_generated/src/private/types/HostComponent.d.ts +19 -0
  220. package/types_generated/src/private/types/HostInstance.d.ts +57 -0
  221. package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +27 -0
  222. package/types_generated/src/private/webapis/dom/events/Event.d.ts +50 -0
  223. package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +36 -0
  224. package/types_generated/src/private/webapis/dom/nodes/ReactNativeDocument.d.ts +35 -0
  225. package/types_generated/src/private/webapis/dom/nodes/ReactNativeElement.d.ts +89 -0
  226. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyCharacterData.d.ts +32 -0
  227. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyElement.d.ts +56 -0
  228. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyNode.d.ts +131 -0
  229. package/types_generated/src/private/webapis/dom/nodes/ReadOnlyText.d.ts +26 -0
  230. package/types_generated/src/private/webapis/dom/nodes/internals/NodeInternals.d.ts +36 -0
  231. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentElementInstanceHandle.d.ts +23 -0
  232. package/types_generated/src/private/webapis/dom/nodes/internals/ReactNativeDocumentInstanceHandle.d.ts +22 -0
  233. package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +229 -0
  234. package/types_generated/src/private/webapis/dom/oldstylecollections/HTMLCollection.d.ts +24 -0
  235. package/types_generated/src/private/webapis/dom/oldstylecollections/NodeList.d.ts +27 -0
  236. package/types_generated/src/private/webapis/geometry/DOMRect.d.ts +46 -0
  237. package/types_generated/src/private/webapis/geometry/DOMRectReadOnly.d.ts +73 -0
  238. package/types_generated/src/private/webapis/utils/ArrayLikeUtils.d.ts +27 -0
  239. package/types_generated/src/react-private-interface.d.ts +33 -0
  240. package/types_generated/tsconfig.json +3 -0
@@ -0,0 +1,157 @@
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<<016edaeeb7e846aedb49b9e2b1c281d3>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.js
11
+ */
12
+
13
+ import type { MeasureInWindowOnSuccessCallback, MeasureLayoutOnSuccessCallback, MeasureOnSuccessCallback } from "../../../src/private/types/HostInstance";
14
+ import type { ColorValue } from "../../StyleSheet/StyleSheet";
15
+ import type { NativeSyntheticEvent } from "../../Types/CoreEventTypes";
16
+ import type { ViewProps } from "../View/ViewPropTypes";
17
+ import * as React from "react";
18
+ export type DrawerStates = "Idle" | "Dragging" | "Settling";
19
+ export type DrawerSlideEvent = NativeSyntheticEvent<Readonly<{
20
+ offset: number;
21
+ }>>;
22
+ /**
23
+ * DrawerLayoutAndroid is deprecated and will be removed in a future release.
24
+ * Use `react-native-drawer-layout` instead.
25
+ * @see https://reactnavigation.org/docs/drawer-layout/
26
+ * @deprecated
27
+ */
28
+ export type DrawerLayoutAndroidProps = Readonly<Omit<ViewProps, keyof {
29
+ /**
30
+ * Whether the keyboard is dismissed in response to a drag.
31
+ *
32
+ * @default `'none'`
33
+ */
34
+ keyboardDismissMode?: ("none" | "on-drag") | undefined;
35
+ /**
36
+ * Background color of the drawer.
37
+ *
38
+ * @default `'white'`
39
+ */
40
+ drawerBackgroundColor?: ColorValue | undefined;
41
+ /**
42
+ * Side of the screen from which the drawer slides in.
43
+ *
44
+ * @default `'left'`
45
+ */
46
+ drawerPosition: ("left" | "right") | undefined;
47
+ /**
48
+ * Width of the drawer view.
49
+ */
50
+ drawerWidth?: number | undefined;
51
+ /**
52
+ * Lock mode of the drawer. `'unlocked'` responds to touch gestures, `'locked-closed'` stays closed, `'locked-open'` stays open.
53
+ *
54
+ * @default `'unlocked'`
55
+ */
56
+ drawerLockMode?: ("unlocked" | "locked-closed" | "locked-open") | undefined;
57
+ /**
58
+ * Called when there is an interaction with the navigation view.
59
+ */
60
+ onDrawerSlide?: ((event: DrawerSlideEvent) => unknown) | undefined;
61
+ /**
62
+ * Called when the drawer state changes. States: idle, dragging, settling.
63
+ */
64
+ onDrawerStateChanged?: ((state: DrawerStates) => unknown) | undefined;
65
+ /**
66
+ * Called when the navigation view has been opened.
67
+ */
68
+ onDrawerOpen?: (() => unknown) | undefined;
69
+ /**
70
+ * Called when the navigation view has been closed.
71
+ */
72
+ onDrawerClose?: (() => unknown) | undefined;
73
+ /**
74
+ * The navigation view that will be rendered to the side of the screen.
75
+ */
76
+ renderNavigationView: () => React.JSX.Element;
77
+ /**
78
+ * Makes the drawer take the entire screen and draws the background of the status bar to allow it to open over the status bar. Only has effect on API 21+.
79
+ */
80
+ statusBarBackgroundColor?: ColorValue | undefined;
81
+ }> & {
82
+ /**
83
+ * Whether the keyboard is dismissed in response to a drag.
84
+ *
85
+ * @default `'none'`
86
+ */
87
+ keyboardDismissMode?: ("none" | "on-drag") | undefined;
88
+ /**
89
+ * Background color of the drawer.
90
+ *
91
+ * @default `'white'`
92
+ */
93
+ drawerBackgroundColor?: ColorValue | undefined;
94
+ /**
95
+ * Side of the screen from which the drawer slides in.
96
+ *
97
+ * @default `'left'`
98
+ */
99
+ drawerPosition: ("left" | "right") | undefined;
100
+ /**
101
+ * Width of the drawer view.
102
+ */
103
+ drawerWidth?: number | undefined;
104
+ /**
105
+ * Lock mode of the drawer. `'unlocked'` responds to touch gestures, `'locked-closed'` stays closed, `'locked-open'` stays open.
106
+ *
107
+ * @default `'unlocked'`
108
+ */
109
+ drawerLockMode?: ("unlocked" | "locked-closed" | "locked-open") | undefined;
110
+ /**
111
+ * Called when there is an interaction with the navigation view.
112
+ */
113
+ onDrawerSlide?: ((event: DrawerSlideEvent) => unknown) | undefined;
114
+ /**
115
+ * Called when the drawer state changes. States: idle, dragging, settling.
116
+ */
117
+ onDrawerStateChanged?: ((state: DrawerStates) => unknown) | undefined;
118
+ /**
119
+ * Called when the navigation view has been opened.
120
+ */
121
+ onDrawerOpen?: (() => unknown) | undefined;
122
+ /**
123
+ * Called when the navigation view has been closed.
124
+ */
125
+ onDrawerClose?: (() => unknown) | undefined;
126
+ /**
127
+ * The navigation view that will be rendered to the side of the screen.
128
+ */
129
+ renderNavigationView: () => React.JSX.Element;
130
+ /**
131
+ * Makes the drawer take the entire screen and draws the background of the status bar to allow it to open over the status bar. Only has effect on API 21+.
132
+ */
133
+ statusBarBackgroundColor?: ColorValue | undefined;
134
+ }>;
135
+ export type DrawerLayoutAndroidState = {
136
+ drawerOpened: boolean;
137
+ };
138
+ export interface DrawerLayoutAndroidMethods {
139
+ /**
140
+ * Opens the drawer.
141
+ */
142
+ openDrawer(): void;
143
+ /**
144
+ * Closes the drawer.
145
+ */
146
+ closeDrawer(): void;
147
+ /**
148
+ * Native methods
149
+ */
150
+ blur(): void;
151
+ focus(): void;
152
+ measure(callback: MeasureOnSuccessCallback): void;
153
+ measureInWindow(callback: MeasureInWindowOnSuccessCallback): void;
154
+ measureLayout(relativeToNativeNode: number, onSuccess: MeasureLayoutOnSuccessCallback, onFail?: () => void): void;
155
+ setNativeProps(nativeProps: Object): void;
156
+ }
157
+ export type DrawerLayoutAndroidInstance = DrawerLayoutAndroidMethods;
@@ -0,0 +1,115 @@
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<<348304b125fd65ba0ed81e7e996f5ab3>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/Keyboard/Keyboard.js
11
+ */
12
+
13
+ import type { EventSubscription } from "../../vendor/emitter/EventEmitter";
14
+ export type KeyboardEventName = keyof KeyboardEventDefinitions;
15
+ export type KeyboardEventEasing = "easeIn" | "easeInEaseOut" | "easeOut" | "linear" | "keyboard";
16
+ export type KeyboardMetrics = Readonly<{
17
+ screenX: number;
18
+ screenY: number;
19
+ width: number;
20
+ height: number;
21
+ }>;
22
+ export type KeyboardEvent = AndroidKeyboardEvent | IOSKeyboardEvent;
23
+ type BaseKeyboardEvent = {
24
+ duration: number;
25
+ easing: KeyboardEventEasing;
26
+ endCoordinates: KeyboardMetrics;
27
+ };
28
+ export type AndroidKeyboardEvent = Readonly<Omit<BaseKeyboardEvent, keyof {
29
+ /**
30
+ * Always set to 0 on Android.
31
+ */
32
+ duration: 0;
33
+ /**
34
+ * Always set to "keyboard" on Android.
35
+ */
36
+ easing: "keyboard";
37
+ }> & {
38
+ /**
39
+ * Always set to 0 on Android.
40
+ */
41
+ duration: 0;
42
+ /**
43
+ * Always set to "keyboard" on Android.
44
+ */
45
+ easing: "keyboard";
46
+ }>;
47
+ export type IOSKeyboardEvent = Readonly<Omit<BaseKeyboardEvent, keyof {
48
+ startCoordinates: KeyboardMetrics;
49
+ isEventFromThisApp: boolean;
50
+ }> & {
51
+ startCoordinates: KeyboardMetrics;
52
+ isEventFromThisApp: boolean;
53
+ }>;
54
+ type KeyboardEventDefinitions = {
55
+ keyboardWillShow: [KeyboardEvent];
56
+ keyboardDidShow: [KeyboardEvent];
57
+ keyboardWillHide: [KeyboardEvent];
58
+ keyboardDidHide: [KeyboardEvent];
59
+ keyboardWillChangeFrame: [KeyboardEvent];
60
+ keyboardDidChangeFrame: [KeyboardEvent];
61
+ };
62
+ /**
63
+ * Module to control keyboard events and make changes to the keyboard.
64
+ */
65
+ declare class KeyboardImpl {
66
+ constructor();
67
+ /**
68
+ * Listen for native keyboard notification events.
69
+ *
70
+ * Available events are: `keyboardWillShow`, `keyboardDidShow`,
71
+ * `keyboardWillHide`, `keyboardDidHide`, `keyboardWillChangeFrame`, and
72
+ * `keyboardDidChangeFrame`. Only `keyboardDidShow` and `keyboardDidHide`
73
+ * are available on Android.
74
+ *
75
+ * Android versions prior to API 30 rely on observing layout changes when
76
+ * `android:windowSoftInputMode` is set to `adjustResize` or `adjustPan`.
77
+ *
78
+ * @param {string} eventName The native event name to listen for.
79
+ * @param {function} callback Function to be called when the event fires.
80
+ */
81
+ addListener<K extends keyof KeyboardEventDefinitions>(eventType: K, listener: (...$$REST$$: KeyboardEventDefinitions[K]) => unknown, context?: unknown): EventSubscription;
82
+ /**
83
+ * Removes all listeners for a specific event type.
84
+ *
85
+ * @param {string} eventType The native event string listeners are watching which will be removed.
86
+ */
87
+ removeAllListeners<K extends keyof KeyboardEventDefinitions>(eventType: null | undefined | K): void;
88
+ /**
89
+ * Dismisses the active keyboard and removes focus.
90
+ */
91
+ dismiss(): void;
92
+ /**
93
+ * Whether the keyboard is last known to be visible.
94
+ */
95
+ isVisible(): boolean;
96
+ /**
97
+ * Return the metrics of the soft keyboard if visible.
98
+ */
99
+ metrics(): null | undefined | KeyboardMetrics;
100
+ /**
101
+ * Sync `TextInput` (or other keyboard accessory view) size or position
102
+ * changes with keyboard movements.
103
+ */
104
+ scheduleLayoutAnimation(event: KeyboardEvent): void;
105
+ }
106
+ declare const Keyboard: KeyboardImpl;
107
+ /**
108
+ * `Keyboard` module to control keyboard events and make changes to the
109
+ * keyboard, like dismissing it.
110
+ *
111
+ * @see https://reactnative.dev/docs/keyboard
112
+ */
113
+ declare const $$Keyboard: typeof Keyboard;
114
+ declare type $$Keyboard = typeof $$Keyboard;
115
+ export default $$Keyboard;
@@ -0,0 +1,82 @@
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<<56acaea389704095c6b47f91b7e3b7ae>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js
11
+ */
12
+
13
+ import type { ViewStyleProp } from "../../StyleSheet/StyleSheet";
14
+ import type { ViewProps } from "../View/ViewPropTypes";
15
+ import View from "../View/View";
16
+ import * as React from "react";
17
+ export interface KeyboardAvoidingViewProps extends Readonly<Omit<ViewProps, keyof {
18
+ /**
19
+ * Specify how to react to the presence of the keyboard.
20
+ */
21
+ behavior?: ("height" | "position" | "padding") | undefined;
22
+ /**
23
+ * The style of the content container (View) when `behavior` is 'position'.
24
+ */
25
+ contentContainerStyle?: ViewStyleProp | undefined;
26
+ /**
27
+ * Whether the `KeyboardAvoidingView` is enabled.
28
+ *
29
+ * @default `true`
30
+ */
31
+ enabled?: boolean | undefined;
32
+ /**
33
+ * Distance between the top of the user screen and the React Native view,
34
+ * may be non-zero in some use cases.
35
+ *
36
+ * @default `0`
37
+ */
38
+ keyboardVerticalOffset?: number | undefined;
39
+ }>> {
40
+ /**
41
+ * Specify how to react to the presence of the keyboard.
42
+ */
43
+ readonly behavior?: ("height" | "position" | "padding") | undefined;
44
+ /**
45
+ * The style of the content container (View) when `behavior` is 'position'.
46
+ */
47
+ readonly contentContainerStyle?: ViewStyleProp | undefined;
48
+ /**
49
+ * Whether the `KeyboardAvoidingView` is enabled.
50
+ *
51
+ * @default `true`
52
+ */
53
+ readonly enabled?: boolean | undefined;
54
+ /**
55
+ * Distance between the top of the user screen and the React Native view,
56
+ * may be non-zero in some use cases.
57
+ *
58
+ * @default `0`
59
+ */
60
+ readonly keyboardVerticalOffset?: number | undefined;
61
+ }
62
+ type KeyboardAvoidingViewState = {
63
+ bottom: number;
64
+ };
65
+ /**
66
+ * Automatically adjusts its height, position, or bottom padding based on the
67
+ * keyboard height to remain visible while the virtual keyboard is displayed.
68
+ *
69
+ * @see https://reactnative.dev/docs/keyboardavoidingview
70
+ */
71
+ declare class KeyboardAvoidingView extends React.Component<KeyboardAvoidingViewProps, KeyboardAvoidingViewState> {
72
+ viewRef: {
73
+ current: React.ComponentRef<typeof View> | null;
74
+ };
75
+ constructor(props: KeyboardAvoidingViewProps);
76
+ componentDidUpdate(_: KeyboardAvoidingViewProps, prevState: KeyboardAvoidingViewState): void;
77
+ componentDidMount(): void;
78
+ componentWillUnmount(): void;
79
+ render(): React.ReactNode;
80
+ }
81
+ export type KeyboardAvoidingViewInstance = KeyboardAvoidingView;
82
+ export default KeyboardAvoidingView;
@@ -0,0 +1,23 @@
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<<d967f474c0e6cfa3f4ee2abdfaab4e22>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/LayoutConformance/LayoutConformance.js
11
+ */
12
+
13
+ import * as React from "react";
14
+ export type LayoutConformanceProps = Readonly<{
15
+ /**
16
+ * strict: Layout in accordance with W3C spec, even when breaking
17
+ * compatibility: Layout with the same behavior as previous versions of React Native
18
+ */
19
+ mode: "strict" | "compatibility";
20
+ children: React.ReactNode;
21
+ }>;
22
+ declare function LayoutConformance(props: LayoutConformanceProps): React.ReactNode;
23
+ export default LayoutConformance;
@@ -0,0 +1,170 @@
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<<cba764f076186a9a6e2a4d5aa7f006e8>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/Pressable/Pressable.js
11
+ */
12
+
13
+ import type { HostInstance } from "../../../src/private/types/HostInstance";
14
+ import type { ViewStyleProp } from "../../StyleSheet/StyleSheet";
15
+ import type { BlurEvent, FocusEvent, GestureResponderEvent, LayoutChangeEvent, MouseEvent } from "../../Types/CoreEventTypes";
16
+ import type { TVParallaxPropertiesType } from "../TV/TVViewPropTypes";
17
+ import type { ViewProps } from "../View/ViewPropTypes";
18
+ import { type RectOrSize } from "../../StyleSheet/Rect";
19
+ import { type PressableAndroidRippleConfig } from "./useAndroidRippleForView";
20
+ import * as React from "react";
21
+ export type PressableInstance = HostInstance;
22
+ export type { PressableAndroidRippleConfig };
23
+ export type PressableStateCallbackType = Readonly<{
24
+ pressed: boolean;
25
+ focused: boolean;
26
+ }>;
27
+ type TVProps = Readonly<{
28
+ hasTVPreferredFocus?: boolean | undefined;
29
+ isTVSelectable?: boolean | undefined;
30
+ tvParallaxProperties?: TVParallaxPropertiesType | undefined;
31
+ nextFocusDown?: number | undefined;
32
+ nextFocusForward?: number | undefined;
33
+ nextFocusLeft?: number | undefined;
34
+ nextFocusRight?: number | undefined;
35
+ nextFocusUp?: number | undefined;
36
+ onFocus?: ((event: FocusEvent) => unknown) | undefined;
37
+ onBlur?: ((event: BlurEvent) => unknown) | undefined;
38
+ onFocusCapture?: ((event: FocusEvent) => void) | undefined;
39
+ onBlurCapture?: ((event: BlurEvent) => void) | undefined;
40
+ }>;
41
+ type PressableBaseProps = Readonly<{
42
+ /**
43
+ * Whether a press gesture can be interrupted by a parent gesture such as a
44
+ * scroll event. Defaults to true.
45
+ */
46
+ cancelable?: boolean | undefined;
47
+ /**
48
+ * Either children or a function that receives a boolean reflecting whether
49
+ * the component is currently pressed.
50
+ */
51
+ children?: React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode) | undefined;
52
+ /**
53
+ * Duration to wait after hover in before calling `onHoverIn`.
54
+ *
55
+ * @platform macos windows
56
+ */
57
+ delayHoverIn?: number | undefined;
58
+ /**
59
+ * Duration to wait after hover out before calling `onHoverOut`.
60
+ *
61
+ * @platform macos windows
62
+ */
63
+ delayHoverOut?: number | undefined;
64
+ /**
65
+ * Duration (in milliseconds) from `onPressIn` before `onLongPress` is called.
66
+ *
67
+ * @default `500`
68
+ */
69
+ delayLongPress?: number | undefined;
70
+ /**
71
+ * Whether the press behavior is disabled.
72
+ *
73
+ * @default `false`
74
+ */
75
+ disabled?: boolean | undefined;
76
+ /**
77
+ * Additional distance outside of this view in which a press is detected.
78
+ */
79
+ hitSlop?: RectOrSize | undefined;
80
+ /**
81
+ * Additional distance outside of this view in which a touch is considered a
82
+ * press before `onPressOut` is triggered.
83
+ *
84
+ * @default `{bottom: 30, left: 20, right: 20, top: 20}`
85
+ */
86
+ pressRetentionOffset?: RectOrSize | undefined;
87
+ /**
88
+ * Called when this view's layout changes.
89
+ */
90
+ onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
91
+ /**
92
+ * Called when the hover is activated.
93
+ */
94
+ onHoverIn?: ((event: MouseEvent) => unknown) | undefined;
95
+ /**
96
+ * Called when the hover is deactivated.
97
+ */
98
+ onHoverOut?: ((event: MouseEvent) => unknown) | undefined;
99
+ /**
100
+ * Called if the time after `onPressIn` lasts longer than `delayLongPress`.
101
+ */
102
+ onLongPress?: ((event: GestureResponderEvent) => unknown) | undefined;
103
+ /**
104
+ * Called after `onPressOut`.
105
+ */
106
+ onPress?: ((event: GestureResponderEvent) => unknown) | undefined;
107
+ /**
108
+ * Called immediately when a touch is engaged, before `onPressOut` and
109
+ * `onPress`.
110
+ */
111
+ onPressIn?: ((event: GestureResponderEvent) => unknown) | undefined;
112
+ /**
113
+ * Called when the press location moves.
114
+ */
115
+ onPressMove?: ((event: GestureResponderEvent) => unknown) | undefined;
116
+ /**
117
+ * Called when a touch is released.
118
+ */
119
+ onPressOut?: ((event: GestureResponderEvent) => unknown) | undefined;
120
+ /**
121
+ * Whether to prevent any other native components from becoming responder
122
+ * while this pressable is responder.
123
+ */
124
+ blockNativeResponder?: boolean | undefined;
125
+ /**
126
+ * Either view styles or a function that receives a boolean reflecting whether
127
+ * the component is currently pressed and returns view styles.
128
+ */
129
+ style?: ViewStyleProp | ((state: PressableStateCallbackType) => ViewStyleProp) | undefined;
130
+ /**
131
+ * Identifier used to find this view in tests.
132
+ */
133
+ testID?: string | undefined;
134
+ /**
135
+ * If true, doesn't play Android system sound on press.
136
+ *
137
+ * @platform android
138
+ * @default `false`
139
+ */
140
+ android_disableSound?: boolean | undefined;
141
+ /**
142
+ * Enables the Android ripple effect and configures its properties.
143
+ *
144
+ * @platform android
145
+ */
146
+ android_ripple?: PressableAndroidRippleConfig | undefined;
147
+ /**
148
+ * Used only for documentation or testing (e.g. snapshot testing).
149
+ */
150
+ testOnly_pressed?: boolean | undefined;
151
+ /**
152
+ * Duration (in milliseconds) to wait after press down before calling
153
+ * `onPressIn`.
154
+ */
155
+ unstable_pressDelay?: number | undefined;
156
+ }>;
157
+ export interface PressableProps extends Readonly<Omit<Omit<ViewProps, "onMouseEnter" | "onMouseLeave">, keyof PressableBaseProps | keyof TVProps | keyof {}> & Omit<PressableBaseProps, keyof TVProps | keyof {}> & Omit<TVProps, keyof {}>> {}
158
+ /**
159
+ * A Core Component wrapper that can detect various stages of press
160
+ * interactions on any of its defined children.
161
+ *
162
+ * @see https://reactnative.dev/docs/pressable
163
+ */
164
+ declare const $$Pressable: (props: Omit<PressableProps, keyof {
165
+ ref?: React.Ref<PressableInstance> | undefined;
166
+ }> & {
167
+ ref?: React.Ref<PressableInstance> | undefined;
168
+ }) => React.ReactNode;
169
+ declare type $$Pressable = typeof $$Pressable;
170
+ export default $$Pressable;
@@ -0,0 +1,48 @@
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<<b47dc0eab37a5f23dd11abfced0f2e67>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/Pressable/useAndroidRippleForView.js
11
+ */
12
+
13
+ import type { ProcessedColorValue } from "../../StyleSheet/processColor";
14
+ import type { ColorValue } from "../../StyleSheet/StyleSheet";
15
+ import type { GestureResponderEvent } from "../../Types/CoreEventTypes";
16
+ import View from "../View/View";
17
+ import * as React from "react";
18
+ type NativeBackgroundProp = Readonly<{
19
+ type: "RippleAndroid";
20
+ color: ProcessedColorValue | undefined;
21
+ borderless: boolean;
22
+ rippleRadius: number | undefined;
23
+ alpha: number | undefined;
24
+ }>;
25
+ export type PressableAndroidRippleConfig = {
26
+ color?: ColorValue | undefined;
27
+ borderless?: boolean | undefined;
28
+ radius?: number | undefined;
29
+ foreground?: boolean | undefined;
30
+ alpha?: number | undefined;
31
+ };
32
+ /**
33
+ * Provides the event handlers and props for configuring the ripple effect on
34
+ * supported versions of Android.
35
+ */
36
+ declare function useAndroidRippleForView(rippleConfig: null | undefined | PressableAndroidRippleConfig, viewRef: {
37
+ current: null | React.ComponentRef<typeof View>;
38
+ }): null | undefined | Readonly<{
39
+ onPressIn: (event: GestureResponderEvent) => void;
40
+ onPressMove: (event: GestureResponderEvent) => void;
41
+ onPressOut: (event: GestureResponderEvent) => void;
42
+ viewProps: Readonly<{
43
+ nativeBackgroundAndroid: NativeBackgroundProp;
44
+ }> | Readonly<{
45
+ nativeForegroundAndroid: NativeBackgroundProp;
46
+ }>;
47
+ }>;
48
+ export default useAndroidRippleForView;
@@ -0,0 +1,32 @@
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<<2575ecb472f31c07c4274a7736b7fd34>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js
11
+ */
12
+
13
+ import * as React from "react";
14
+ import type { HostInstance } from "../../../src/private/types/HostInstance";
15
+ import type { ProgressBarAndroidProps } from "./ProgressBarAndroidTypes";
16
+ export type ProgressBarAndroidInstance = HostInstance;
17
+ export type { ProgressBarAndroidProps };
18
+ type Omit<T, K> = T extends any ? Pick<T, Exclude<keyof T, K>> : T;
19
+ declare let ProgressBarAndroid: (props: Omit<Omit<ProgressBarAndroidProps, never>, keyof {
20
+ ref?: React.Ref<ProgressBarAndroidInstance> | undefined;
21
+ }> & {
22
+ ref?: React.Ref<ProgressBarAndroidInstance> | undefined;
23
+ }) => React.ReactNode;
24
+ /**
25
+ * ProgressBarAndroid has been extracted from react-native core and will be removed in a future release.
26
+ * It can now be installed and imported from `@react-native-community/progress-bar-android` instead of 'react-native'.
27
+ * @see https://github.com/react-native-community/progress-bar-android
28
+ * @deprecated
29
+ */
30
+ declare const $$ProgressBarAndroid: typeof ProgressBarAndroid;
31
+ declare type $$ProgressBarAndroid = typeof $$ProgressBarAndroid;
32
+ export default $$ProgressBarAndroid;