Skip to content

Commit

Permalink
remove accessibilityStates validAttributes config from ReactNativeVie…
Browse files Browse the repository at this point in the history
…wViewConfig.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: #29656

Reviewed By: philIip

Differential Revision: D31732866

Pulled By: yungsters

fbshipit-source-id: 83b6eb223e76537a09c13ccdb382317421ab4585
  • Loading branch information
luism3861 authored and facebook-github-bot committed Oct 18, 2021
1 parent 63f66fc commit 1121ed9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Libraries/Components/View/ReactNativeViewViewConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1121ed9

Please sign in to comment.