mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5bc7b02fc7
Summary:
## Failure
```
LOG SVC AndroidHorizontalScrollContentView Invalid
LOG {
"missing": {
"validAttributes": {
"removeClippedSubviews": true
}
},
"unexpected": {},
"unequal": []
}
```
Changelog: [Internal]
Reviewed By: yungsters
Differential Revision: D33341774
fbshipit-source-id: 8f287ba00252f8456ad642eaedf38fa3aa2a11ff
26 lines
681 B
JavaScript
26 lines
681 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow strict-local
|
|
*/
|
|
|
|
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
|
|
import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';
|
|
import type {ViewProps} from '../View/ViewPropTypes';
|
|
|
|
type NativeProps = $ReadOnly<{|
|
|
...ViewProps,
|
|
|
|
removeClippedSubviews?: ?boolean,
|
|
|}>;
|
|
|
|
type NativeType = HostComponent<NativeProps>;
|
|
|
|
export default (codegenNativeComponent<NativeProps>(
|
|
'AndroidHorizontalScrollContentView',
|
|
): NativeType);
|