You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, the has-valid-accessibility-actions rule throws the following errors: accessibilityActions: value must be an Array and accessibilityActions: has accessibilityActions but onAccessibilityAction is not a function. However, both of my variables have the correct types. I tried putting the array and the function as is in the JSX (without putting them in a variable) and it worked fine, but I prefer having a simpler/cleaner JSX.
Do you think this is something that can be fixed?
The text was updated successfully, but these errors were encountered:
JCMartell
changed the title
The has-valid-accessibility-actions rule doesn't accept variables
has-valid-accessibility-actions rule doesn't accept variables
Feb 13, 2021
Hi,
I was fixing some lint errors and encountered this situation:
Here, the has-valid-accessibility-actions rule throws the following errors:
accessibilityActions: value must be an Array
andaccessibilityActions: has accessibilityActions but onAccessibilityAction is not a function
. However, both of my variables have the correct types. I tried putting the array and the function as is in the JSX (without putting them in a variable) and it worked fine, but I prefer having a simpler/cleaner JSX.Do you think this is something that can be fixed?
The text was updated successfully, but these errors were encountered: