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,24 @@
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<<b70b88519e57b2f051061a7d10dc370c>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/ScrollView/ScrollViewContext.js
11
+ */
12
+
13
+ import * as React from "react";
14
+ type Value = {
15
+ horizontal: boolean;
16
+ } | null;
17
+ declare const ScrollViewContext: React.Context<Value>;
18
+ declare const $$ScrollViewContext: typeof ScrollViewContext;
19
+ declare type $$ScrollViewContext = typeof $$ScrollViewContext;
20
+ export default $$ScrollViewContext;
21
+ export declare const HORIZONTAL: Value;
22
+ export declare type HORIZONTAL = typeof HORIZONTAL;
23
+ export declare const VERTICAL: Value;
24
+ export declare type VERTICAL = typeof VERTICAL;
@@ -0,0 +1,36 @@
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<<2a2474f9ffeb2f444daca4629c021f62>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js
11
+ */
12
+
13
+ import type { LayoutChangeEvent } from "../../Types/CoreEventTypes";
14
+ import Animated from "../../Animated/Animated";
15
+ import * as React from "react";
16
+ export type ScrollViewStickyHeaderProps = Readonly<{
17
+ children?: React.ReactNode | undefined;
18
+ nextHeaderLayoutY: number | undefined;
19
+ onLayout: (event: LayoutChangeEvent) => void;
20
+ scrollAnimatedValue: Animated.Value;
21
+ inverted: boolean | undefined;
22
+ scrollViewHeight: number | undefined;
23
+ nativeID?: string | undefined;
24
+ hiddenOnScroll?: boolean | undefined;
25
+ }>;
26
+ interface Instance extends React.ElementRef<typeof Animated.View> {
27
+ readonly setNextHeaderY: ($$PARAM_0$$: number) => void;
28
+ }
29
+ declare const ScrollViewStickyHeader: (props: Omit<ScrollViewStickyHeaderProps, keyof {
30
+ ref?: React.Ref<Instance> | undefined;
31
+ }> & {
32
+ ref?: React.Ref<Instance> | undefined;
33
+ }) => React.ReactNode;
34
+ declare const $$ScrollViewStickyHeader: typeof ScrollViewStickyHeader;
35
+ declare type $$ScrollViewStickyHeader = typeof $$ScrollViewStickyHeader;
36
+ export default $$ScrollViewStickyHeader;
@@ -0,0 +1,189 @@
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<<1c00de0c6932de5dbb22f01f3588b995>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/StatusBar/StatusBar.js
11
+ */
12
+
13
+ import * as React from "react";
14
+ /**
15
+ * Status bar style
16
+ */
17
+ export type StatusBarStyle = keyof {
18
+ /**
19
+ * Default status bar style (dark for iOS, light for Android)
20
+ */
21
+ default: string;
22
+ /**
23
+ * Automatically picks `light-content` or `dark-content` based on the current
24
+ * color scheme. Updates whenever the color scheme changes.
25
+ */
26
+ auto: string;
27
+ /**
28
+ * Dark background, white texts and icons
29
+ */
30
+ "light-content": string;
31
+ /**
32
+ * Light background, dark texts and icons
33
+ */
34
+ "dark-content": string;
35
+ };
36
+ /**
37
+ * Status bar animation
38
+ */
39
+ export type StatusBarAnimation = keyof {
40
+ /**
41
+ * No animation
42
+ */
43
+ none: string;
44
+ /**
45
+ * Fade animation
46
+ */
47
+ fade: string;
48
+ /**
49
+ * Slide animation
50
+ */
51
+ slide: string;
52
+ };
53
+ export type StatusBarPropsIOS = Readonly<{
54
+ /**
55
+ * The transition effect when showing and hiding the status bar using the
56
+ * `hidden` prop.
57
+ *
58
+ * @default `'fade'`
59
+ * @platform ios
60
+ */
61
+ showHideTransition?: ("fade" | "slide" | "none") | undefined;
62
+ }>;
63
+ type StatusBarBaseProps = Readonly<{
64
+ /**
65
+ * If the status bar is hidden.
66
+ *
67
+ * @default `false`
68
+ */
69
+ hidden?: boolean | undefined;
70
+ /**
71
+ * If the transition between status bar property changes should be animated.
72
+ * Supported for `barStyle` and `hidden`.
73
+ *
74
+ * @default `false`
75
+ */
76
+ animated?: boolean | undefined;
77
+ /**
78
+ * Sets the color of the status bar text.
79
+ *
80
+ * @default `'default'`
81
+ */
82
+ barStyle?: ("default" | "auto" | "light-content" | "dark-content") | undefined;
83
+ }>;
84
+ export type StatusBarProps = Readonly<Omit<StatusBarPropsIOS, keyof StatusBarBaseProps | keyof {}> & Omit<StatusBarBaseProps, keyof {}> & {}>;
85
+ type StackProps = {
86
+ barStyle: {
87
+ value: StatusBarProps["barStyle"];
88
+ animated: boolean;
89
+ } | undefined;
90
+ hidden: {
91
+ value: boolean;
92
+ animated: boolean;
93
+ transition: StatusBarProps["showHideTransition"];
94
+ } | undefined;
95
+ };
96
+ /**
97
+ * Component to control the app's status bar. The status bar is the zone,
98
+ * typically at the top of the screen, that displays the current time, Wi-Fi and
99
+ * cellular network information, battery level and/or other status icons.
100
+ *
101
+ * Multiple `StatusBar` components can be mounted simultaneously; props merge in
102
+ * mount order.
103
+ *
104
+ * ### Imperative API
105
+ *
106
+ * For cases where using a component is not ideal, there are static methods
107
+ * to manipulate the `StatusBar` display stack. These methods have the same
108
+ * behavior as mounting and unmounting a `StatusBar` component.
109
+ *
110
+ * For example, you can call `StatusBar.pushStackEntry` to update the status bar
111
+ * before launching a third-party native UI component, and then call
112
+ * `StatusBar.popStackEntry` when completed.
113
+ *
114
+ * Example:
115
+ *
116
+ * ```tsx
117
+ * const openThirdPartyBugReporter = async () => {
118
+ * // The bug reporter has a dark background, so we push a new status bar style.
119
+ * const stackEntry = StatusBar.pushStackEntry({barStyle: 'light-content'});
120
+ *
121
+ * // `open` returns a promise that resolves when the UI is dismissed.
122
+ * await BugReporter.open();
123
+ *
124
+ * // Don't forget to call `popStackEntry` when you're done.
125
+ * StatusBar.popStackEntry(stackEntry);
126
+ * };
127
+ * ```
128
+ *
129
+ * There is a legacy imperative API that enables you to manually update the
130
+ * status bar styles. However, the legacy API does not update the internal
131
+ * `StatusBar` display stack, which means that any changes will be overridden
132
+ * whenever a `StatusBar` component is mounted or unmounted.
133
+ *
134
+ * It is strongly advised that you use `pushStackEntry`, `popStackEntry`, or
135
+ * `replaceStackEntry` instead of the static methods beginning with `set`.
136
+ *
137
+ * ### Constants
138
+ *
139
+ * `currentHeight` (Android only) The height of the status bar.
140
+ *
141
+ * @see https://reactnative.dev/docs/statusbar
142
+ */
143
+ declare class StatusBar extends React.Component<StatusBarProps> {
144
+ /**
145
+ * The current height of the status bar on the device.
146
+ *
147
+ * @platform android
148
+ */
149
+ static currentHeight: null | undefined | number;
150
+ /**
151
+ * Show or hide the status bar
152
+ * @param hidden Hide the status bar.
153
+ * @param animation Optional animation when
154
+ * changing the status bar hidden property.
155
+ */
156
+ static setHidden(hidden: boolean, animation?: StatusBarAnimation): void;
157
+ /**
158
+ * Set the status bar style
159
+ * @param style Status bar style to set
160
+ * @param animated Animate the style change.
161
+ */
162
+ static setBarStyle(style: StatusBarStyle, animated?: boolean): void;
163
+ /**
164
+ * Push a StatusBar entry onto the stack.
165
+ * The return value should be passed to `popStackEntry` when complete.
166
+ *
167
+ * @param props Object containing the StatusBar props to use in the stack entry.
168
+ */
169
+ static pushStackEntry(props: StatusBarProps): StackProps;
170
+ /**
171
+ * Pop a StatusBar entry from the stack.
172
+ *
173
+ * @param entry Entry returned from `pushStackEntry`.
174
+ */
175
+ static popStackEntry(entry: StackProps): void;
176
+ /**
177
+ * Replace an existing StatusBar stack entry with new props.
178
+ *
179
+ * @param entry Entry returned from `pushStackEntry` to replace.
180
+ * @param props Object containing the StatusBar props to use in the replacement stack entry.
181
+ */
182
+ static replaceStackEntry(entry: StackProps, props: StatusBarProps): StackProps;
183
+ componentDidMount(): void;
184
+ componentWillUnmount(): void;
185
+ componentDidUpdate(): void;
186
+ render(): React.ReactNode;
187
+ }
188
+ export type StatusBarInstance = StatusBar;
189
+ export default StatusBar;
@@ -0,0 +1,143 @@
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<<0f5be0c1b1d28d6ab7269a6dc3837f16>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/Switch/Switch.js
11
+ */
12
+
13
+ import type { HostInstance } 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 SwitchInstance = HostInstance;
19
+ export type SwitchPropsIOS = {
20
+ /**
21
+ * Background color when the switch is turned on.
22
+ *
23
+ * @deprecated use trackColor instead
24
+ */
25
+ onTintColor?: ColorValue | undefined;
26
+ /**
27
+ * Color of the foreground switch grip.
28
+ *
29
+ * @deprecated use thumbColor instead
30
+ */
31
+ thumbTintColor?: ColorValue | undefined;
32
+ /**
33
+ * Background color when the switch is turned off.
34
+ *
35
+ * @deprecated use trackColor instead
36
+ */
37
+ tintColor?: ColorValue | undefined;
38
+ };
39
+ type SwitchChangeEventData = Readonly<{
40
+ target: number;
41
+ value: boolean;
42
+ }>;
43
+ export type SwitchChangeEvent = NativeSyntheticEvent<SwitchChangeEventData>;
44
+ type SwitchPropsBase = {
45
+ /**
46
+ * If true, the user won't be able to toggle the switch.
47
+ *
48
+ * @default `false`
49
+ */
50
+ disabled?: boolean | undefined;
51
+ /**
52
+ * The value of the switch. If true the switch will be turned on.
53
+ *
54
+ * @default `false`
55
+ */
56
+ value?: boolean | undefined;
57
+ /**
58
+ * Color of the foreground switch grip. If set on iOS, the switch grip
59
+ * loses its drop shadow.
60
+ */
61
+ thumbColor?: ColorValue | undefined;
62
+ /**
63
+ * Custom colors for the switch track. On iOS, when the switch value is
64
+ * false, the track shrinks into the border.
65
+ */
66
+ trackColor?: Readonly<{
67
+ false?: ColorValue | undefined;
68
+ true?: ColorValue | undefined;
69
+ }> | undefined;
70
+ /**
71
+ * Custom color for the background. Can be seen when the switch value is
72
+ * false or when the switch is disabled (and the switch is translucent).
73
+ *
74
+ * @platform ios
75
+ */
76
+ ios_backgroundColor?: ColorValue | undefined;
77
+ /**
78
+ * Invoked when the user tries to change the value of the switch. Receives
79
+ * the change event as an argument. Use `onValueChange` to receive just
80
+ * the new value instead.
81
+ */
82
+ onChange?: ((event: SwitchChangeEvent) => Promise<void> | void) | undefined;
83
+ /**
84
+ * Invoked when the user tries to change the value of the switch. Receives
85
+ * the new value as an argument. Use `onChange` to receive the event
86
+ * instead.
87
+ */
88
+ onValueChange?: ((value: boolean) => Promise<void> | void) | undefined;
89
+ };
90
+ export interface SwitchProps extends Readonly<Omit<ViewProps, keyof SwitchPropsIOS | keyof SwitchPropsBase | keyof {}> & Omit<SwitchPropsIOS, keyof SwitchPropsBase | keyof {}> & Omit<SwitchPropsBase, keyof {}>> {}
91
+ declare const Switch: (props: Omit<SwitchProps, keyof {
92
+ ref?: React.Ref<SwitchInstance> | undefined;
93
+ }> & {
94
+ ref?: React.Ref<SwitchInstance> | undefined;
95
+ }) => React.ReactNode;
96
+ /**
97
+ * Renders a boolean input.
98
+ *
99
+ * This is a controlled component that requires an `onValueChange` callback
100
+ * that updates the `value` prop in order for the component to reflect user
101
+ * actions. If the `value` prop is not updated, the component will continue to
102
+ * render the supplied `value` prop instead of the expected result of any user
103
+ * actions.
104
+ *
105
+ * Example:
106
+ *
107
+ * ```tsx
108
+ * import React, {useState} from 'react';
109
+ * import {View, Switch, StyleSheet} from 'react-native';
110
+ *
111
+ * const App = () => {
112
+ * const [isEnabled, setIsEnabled] = useState(false);
113
+ * const toggleSwitch = () => setIsEnabled(previousState => !previousState);
114
+ *
115
+ * return (
116
+ * <View style={styles.container}>
117
+ * <Switch
118
+ * trackColor={{false: '#767577', true: '#81b0ff'}}
119
+ * thumbColor={isEnabled ? '#f5dd4b' : '#f4f3f4'}
120
+ * ios_backgroundColor="#3e3e3e"
121
+ * onValueChange={toggleSwitch}
122
+ * value={isEnabled}
123
+ * />
124
+ * </View>
125
+ * );
126
+ * };
127
+ *
128
+ * const styles = StyleSheet.create({
129
+ * container: {
130
+ * flex: 1,
131
+ * alignItems: 'center',
132
+ * justifyContent: 'center',
133
+ * },
134
+ * });
135
+ *
136
+ * export default App;
137
+ * ```
138
+ *
139
+ * @see https://reactnative.dev/docs/switch
140
+ */
141
+ declare const $$Switch: typeof Switch;
142
+ declare type $$Switch = typeof $$Switch;
143
+ export default $$Switch;
@@ -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<<f1079e2fa2c323433ec94964948c67e2>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/TV/TVEventControl.js
11
+ */
12
+
13
+ declare const TVEventControl: {
14
+ enableTVMenuKey: () => void;
15
+ disableTVMenuKey: () => void;
16
+ enableTVPanGesture: () => void;
17
+ disableTVPanGesture: () => void;
18
+ enableGestureHandlersCancelTouches: () => void;
19
+ disableGestureHandlersCancelTouches: () => void;
20
+ };
21
+ declare const $$TVEventControl: typeof TVEventControl;
22
+ declare type $$TVEventControl = typeof $$TVEventControl;
23
+ export default $$TVEventControl;
@@ -0,0 +1,34 @@
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<<0806d7b2ac135d0304ea48a8b0bbd871>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/TV/TVEventHandler.js
11
+ */
12
+
13
+ import { type EventSubscription } from "../../vendor/emitter/EventEmitter";
14
+ type TVRemoteEventBody = {
15
+ state: string;
16
+ x: number;
17
+ y: number;
18
+ velocityX: number;
19
+ velocityY: number;
20
+ };
21
+ type TVRemoteEvent = {
22
+ eventType: string;
23
+ eventKeyAction: number | undefined;
24
+ tag: number | undefined;
25
+ body: TVRemoteEventBody | undefined;
26
+ };
27
+ type TVEventHandlerCallback = (event: TVRemoteEvent) => void;
28
+ type TVEventHandlerType = {
29
+ addListener: (callback: TVEventHandlerCallback) => EventSubscription;
30
+ };
31
+ declare const TVEventHandler: TVEventHandlerType;
32
+ declare const $$TVEventHandler: typeof TVEventHandler;
33
+ declare type $$TVEventHandler = typeof $$TVEventHandler;
34
+ export default $$TVEventHandler;
@@ -0,0 +1,96 @@
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<<929ec57e0ccc692e156f276fc8fce5dc>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/TV/TVFocusGuideView.js
11
+ */
12
+
13
+ import type { BlurEvent, FocusEvent } from "../../Types/CoreEventTypes";
14
+ import type { ViewProps } from "../View/ViewPropTypes";
15
+ import type { ComponentOrHandleType } from "./tagForComponentOrHandle";
16
+ import * as React from "react";
17
+ type TVFocusGuideViewProps = Readonly<Omit<ViewProps, keyof {
18
+ /**
19
+ * If the view should be "visible". display "flex" if visible, otherwise "none".
20
+ * Useful for absolute focus guides without children
21
+ * Defaults to true
22
+ */
23
+ enabled?: boolean | undefined;
24
+ /**
25
+ * The views the focus should go to
26
+ */
27
+ destinations?: ComponentOrHandleType[] | undefined;
28
+ /**
29
+ * @deprecated Don't use it, no longer necessary.
30
+ */
31
+ safePadding?: "vertical" | "horizontal" | "both" | null | undefined;
32
+ autoFocus?: boolean | undefined;
33
+ trapFocusUp?: boolean | undefined;
34
+ trapFocusDown?: boolean | undefined;
35
+ trapFocusLeft?: boolean | undefined;
36
+ trapFocusRight?: boolean | undefined;
37
+ /**
38
+ * When set to false, this view and all its subviews will be NOT focusable.
39
+ */
40
+ focusable?: boolean | void | undefined;
41
+ /**
42
+ * Fires once when focus enters this focus guide's subtree from outside.
43
+ * Unlike `onFocus`, which bubbles and fires for every descendant, this does
44
+ * not fire again when focus moves between descendants. Boundary-crossing
45
+ * only, same idea as `onMouseEnter` vs `onMouseOver`.
46
+ */
47
+ onFocusEnter?: ((event: FocusEvent) => void) | undefined;
48
+ /**
49
+ * Fires once when focus leaves this focus guide's subtree entirely. Does
50
+ * not fire when focus moves between descendants. Pairs with `onFocusEnter`.
51
+ */
52
+ onFocusLeave?: ((event: BlurEvent) => void) | undefined;
53
+ }> & {
54
+ /**
55
+ * If the view should be "visible". display "flex" if visible, otherwise "none".
56
+ * Useful for absolute focus guides without children
57
+ * Defaults to true
58
+ */
59
+ enabled?: boolean | undefined;
60
+ /**
61
+ * The views the focus should go to
62
+ */
63
+ destinations?: ComponentOrHandleType[] | undefined;
64
+ /**
65
+ * @deprecated Don't use it, no longer necessary.
66
+ */
67
+ safePadding?: "vertical" | "horizontal" | "both" | null | undefined;
68
+ autoFocus?: boolean | undefined;
69
+ trapFocusUp?: boolean | undefined;
70
+ trapFocusDown?: boolean | undefined;
71
+ trapFocusLeft?: boolean | undefined;
72
+ trapFocusRight?: boolean | undefined;
73
+ /**
74
+ * When set to false, this view and all its subviews will be NOT focusable.
75
+ */
76
+ focusable?: boolean | void | undefined;
77
+ /**
78
+ * Fires once when focus enters this focus guide's subtree from outside.
79
+ * Unlike `onFocus`, which bubbles and fires for every descendant, this does
80
+ * not fire again when focus moves between descendants. Boundary-crossing
81
+ * only, same idea as `onMouseEnter` vs `onMouseOver`.
82
+ */
83
+ onFocusEnter?: ((event: FocusEvent) => void) | undefined;
84
+ /**
85
+ * Fires once when focus leaves this focus guide's subtree entirely. Does
86
+ * not fire when focus moves between descendants. Pairs with `onFocusEnter`.
87
+ */
88
+ onFocusLeave?: ((event: BlurEvent) => void) | undefined;
89
+ }>;
90
+ export type TVFocusGuideViewImperativeMethods = Readonly<{
91
+ setDestinations: (destinations: (ComponentOrHandleType | number)[]) => void;
92
+ }>;
93
+ declare function TVFocusGuideView($$PARAM_0$$: TVFocusGuideViewProps): React.ReactNode;
94
+ declare const $$TVFocusGuideView: typeof TVFocusGuideView;
95
+ declare type $$TVFocusGuideView = typeof $$TVFocusGuideView;
96
+ export default $$TVFocusGuideView;
@@ -0,0 +1,97 @@
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<<428831bc0ecbdb5be81dc139738ccd09>>
8
+ *
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
+ * Original file: packages/react-native/Libraries/Components/TV/TVTextScrollView.js
11
+ */
12
+
13
+ import type $$IMPORT_TYPEOF_1$$ from "../ScrollView/ScrollView";
14
+ type Props = typeof $$IMPORT_TYPEOF_1$$;
15
+ import * as React from "react";
16
+ /**
17
+ * Convenience wrapper to create a scroll view that will scroll correctly
18
+ * using swipe gestures on tvOS, even if the scroll view has no focusable
19
+ * subviews.
20
+ *
21
+ * The main use case would be when a large scrolling block of text needs
22
+ * to be presented to the user.
23
+ *
24
+ * Props:
25
+ *
26
+ */
27
+
28
+ declare class TVTextScrollView extends React.Component<Omit<Props, keyof {
29
+ /**
30
+ * The duration of the scroll animation when a swipe is detected.
31
+ * Default value is 0.3 s
32
+ */
33
+ scrollDuration?: number | undefined;
34
+ /**
35
+ * Scrolling distance when a swipe is detected
36
+ * Default value is half the visible height (vertical scroller)
37
+ * or width (horizontal scroller)
38
+ */
39
+ pageSize?: number | undefined;
40
+ /**
41
+ * If true, will scroll to start when focus moves out past the beginning
42
+ * of the scroller
43
+ * Defaults to true
44
+ */
45
+ snapToStart?: boolean | undefined;
46
+ /**
47
+ * If true, will scroll to end when focus moves out past the end of the
48
+ * scroller
49
+ * Defaults to true
50
+ */
51
+ snapToEnd?: boolean | undefined;
52
+ /**
53
+ * Called when the scroller comes into focus (e.g. for highlighting)
54
+ */
55
+ onFocus?: ((evt: Event) => void) | undefined;
56
+ /**
57
+ * Called when the scroller goes out of focus
58
+ */
59
+ onBlur?: ((evt: Event) => void) | undefined;
60
+ }> & {
61
+ /**
62
+ * The duration of the scroll animation when a swipe is detected.
63
+ * Default value is 0.3 s
64
+ */
65
+ scrollDuration?: number | undefined;
66
+ /**
67
+ * Scrolling distance when a swipe is detected
68
+ * Default value is half the visible height (vertical scroller)
69
+ * or width (horizontal scroller)
70
+ */
71
+ pageSize?: number | undefined;
72
+ /**
73
+ * If true, will scroll to start when focus moves out past the beginning
74
+ * of the scroller
75
+ * Defaults to true
76
+ */
77
+ snapToStart?: boolean | undefined;
78
+ /**
79
+ * If true, will scroll to end when focus moves out past the end of the
80
+ * scroller
81
+ * Defaults to true
82
+ */
83
+ snapToEnd?: boolean | undefined;
84
+ /**
85
+ * Called when the scroller comes into focus (e.g. for highlighting)
86
+ */
87
+ onFocus?: ((evt: Event) => void) | undefined;
88
+ /**
89
+ * Called when the scroller goes out of focus
90
+ */
91
+ onBlur?: ((evt: Event) => void) | undefined;
92
+ }> {
93
+ componentDidMount(): void;
94
+ componentWillUnmount(): void;
95
+ render(): any;
96
+ }
97
+ export default TVTextScrollView;