• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebook / react-native / af585971-f736-432c-90fc-8c3de5e01da3

pending completion
af585971-f736-432c-90fc-8c3de5e01da3

push

CircleCI

Facebook GitHub Bot
ESM ActivityIndicator

3633 of 26411 branches covered (13.76%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

7424 of 44591 relevant lines covered (16.65%)

241.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.67
/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js
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
 * @flow strict-local
8
 * @format
9
 */
10

11
import type {
12
  HostComponent,
13
  PartialViewConfig,
14
} from '../../Renderer/shims/ReactNativeTypes';
15
import type {ScrollViewNativeProps as Props} from './ScrollViewNativeComponentType';
16

17
import * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';
476✔
18

19
export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {
17✔
20
  uiViewClassName: 'AndroidHorizontalScrollView',
21
  bubblingEventTypes: {},
22
  directEventTypes: {},
23
  validAttributes: {
24
    decelerationRate: true,
25
    disableIntervalMomentum: true,
26
    endFillColor: {process: require('../../StyleSheet/processColor').default},
27
    fadingEdgeLength: true,
28
    nestedScrollEnabled: true,
29
    overScrollMode: true,
30
    pagingEnabled: true,
31
    persistentScrollbar: true,
32
    scrollEnabled: true,
33
    scrollPerfTag: true,
34
    sendMomentumEvents: true,
35
    showsHorizontalScrollIndicator: true,
36
    snapToAlignment: true,
37
    snapToEnd: true,
38
    snapToInterval: true,
39
    snapToStart: true,
40
    snapToOffsets: true,
41
    contentOffset: true,
42
    borderBottomLeftRadius: true,
43
    borderBottomRightRadius: true,
44
    borderRadius: true,
45
    borderStyle: true,
46
    borderRightColor: {
47
      process: require('../../StyleSheet/processColor').default,
48
    },
49
    borderColor: {process: require('../../StyleSheet/processColor').default},
50
    borderBottomColor: {
51
      process: require('../../StyleSheet/processColor').default,
52
    },
53
    borderTopLeftRadius: true,
54
    borderTopColor: {process: require('../../StyleSheet/processColor').default},
55
    removeClippedSubviews: true,
56
    borderTopRightRadius: true,
57
    borderLeftColor: {
58
      process: require('../../StyleSheet/processColor').default,
59
    },
60
    pointerEvents: true,
61
  },
62
};
17✔
63

64
const AndroidHorizontalScrollViewNativeComponent: HostComponent<Props> =
65
  NativeComponentRegistry.get<Props>(
17✔
66
    'AndroidHorizontalScrollView',
67
    () => __INTERNAL_VIEW_CONFIG,
×
68
  );
69

70
export default AndroidHorizontalScrollViewNativeComponent;
17✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc