From 0ee66889e0f2d4ce9edae9a6f2ac78a6de303dcc Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Tue, 11 Jan 2022 14:20:24 -0800 Subject: [PATCH] Fix SVC for AndroidHorizontalScrollView Summary: ## Failure ``` LOG { "missing": { "validAttributes": { "borderBottomLeftRadius": true, "borderRightColor": { "process": "[Function processColor]" }, "borderRadius": true, "borderLeftColor": { "process": "[Function processColor]" }, "borderColor": { "process": "[Function processColor]" }, "borderTopRightRadius": true, "borderBottomColor": { "process": "[Function processColor]" }, "borderTopColor": { "process": "[Function processColor]" }, "borderStyle": true, "borderBottomRightRadius": true, "borderTopLeftRadius": true, "removeClippedSubviews": true } }, "unexpected": {}, "unequal": [] } ``` Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D33341777 fbshipit-source-id: c44661411e690b4536d9e979b79f34e200c3720b --- .../AndroidHorizontalScrollViewNativeComponent.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js b/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js index d7db9c02763..c2f29322bcc 100644 --- a/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +++ b/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js @@ -36,6 +36,18 @@ const AndroidHorizontalScrollViewNativeComponent: HostComponent = snapToStart: true, snapToOffsets: true, contentOffset: true, + borderBottomLeftRadius: true, + borderBottomRightRadius: true, + borderRadius: true, + borderStyle: true, + borderRightColor: {process: require('../../StyleSheet/processColor')}, + borderColor: {process: require('../../StyleSheet/processColor')}, + borderBottomColor: {process: require('../../StyleSheet/processColor')}, + borderTopLeftRadius: true, + borderTopColor: {process: require('../../StyleSheet/processColor')}, + removeClippedSubviews: true, + borderTopRightRadius: true, + borderLeftColor: {process: require('../../StyleSheet/processColor')}, }, }));