diff --git a/Libraries/Components/Touchable/TouchableWithoutFeedback.js b/Libraries/Components/Touchable/TouchableWithoutFeedback.js index 3bb69617e..e4bf9fe83 100755 --- a/Libraries/Components/Touchable/TouchableWithoutFeedback.js +++ b/Libraries/Components/Touchable/TouchableWithoutFeedback.js @@ -19,7 +19,6 @@ const View = require('View'); const createReactClass = require('create-react-class'); const ensurePositiveDelayProps = require('ensurePositiveDelayProps'); -const warning = require('fbjs/lib/warning'); const { AccessibilityComponentTypes, @@ -48,7 +47,8 @@ export type Props = $ReadOnly<{| | string | Array | any, - accessibilityHint?: string, + accessibilityHint?: ?Stringish, + accessibilityIgnoresInvertColors?: ?boolean, accessibilityRole?: ?AccessibilityRole, accessibilityStates?: ?AccessibilityStatesFlow, accessibilityTraits?: ?AccessibilityTraitsFlow, diff --git a/Libraries/Components/View/ViewPropTypes.js b/Libraries/Components/View/ViewPropTypes.js index 7afcee505..d802a6a71 100644 --- a/Libraries/Components/View/ViewPropTypes.js +++ b/Libraries/Components/View/ViewPropTypes.js @@ -88,10 +88,10 @@ export type ViewProps = $ReadOnly<{| accessibilityLabel?: | null | React$PropType$Primitive - | string + | Stringish | Array | any, - accessibilityHint?: string, + accessibilityHint?: Stringish, accessibilityActions?: Array, accessibilityComponentType?: AccessibilityComponentType, accessibilityLiveRegion?: 'none' | 'polite' | 'assertive',