From 1121ed94ab470be27207b0c8dbae5d19860c08da Mon Sep 17 00:00:00 2001 From: luism3861 Date: Mon, 18 Oct 2021 14:33:04 -0700 Subject: [PATCH] remove accessibilityStates validAttributes config from ReactNativeViewViewConfig.js (#29656) Summary: this little PR remove `accesibilityStates` config in validAttributes, like comment says it can be removed after next release. ## Changelog [General][Removed] - `accessibilityStates` no longer passed through to RCTView. Pull Request resolved: https://github.com/facebook/react-native/pull/29656 Reviewed By: philIip Differential Revision: D31732866 Pulled By: yungsters fbshipit-source-id: 83b6eb223e76537a09c13ccdb382317421ab4585 --- Libraries/Components/View/ReactNativeViewViewConfig.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/Components/View/ReactNativeViewViewConfig.js b/Libraries/Components/View/ReactNativeViewViewConfig.js index ff0b6d837e17ad..aa708ddb39a401 100644 --- a/Libraries/Components/View/ReactNativeViewViewConfig.js +++ b/Libraries/Components/View/ReactNativeViewViewConfig.js @@ -122,7 +122,6 @@ const ReactNativeViewConfig: ViewConfig = { accessibilityLabel: true, accessibilityLiveRegion: true, accessibilityRole: true, - accessibilityStates: true, // TODO: Can be removed after next release accessibilityState: true, accessibilityValue: true, accessibilityViewIsModal: true,