Delete regression that make every component accessible by default

This commit is contained in:
Mathieu Acthernoene
2020-01-08 10:42:36 +01:00
parent 0d302250ce
commit 84232a87f8
-3
View File
@@ -66,7 +66,6 @@ const prepare = <T extends BaseProps>(
props = self.props,
) => {
const {
accessible,
translate,
scale,
rotation,
@@ -90,7 +89,6 @@ const prepare = <T extends BaseProps>(
const hasTouchableProperty =
onPress || onPressIn || onPressOut || onLongPress;
const clean: {
accessible?: boolean;
onStartShouldSetResponder?: (e: GestureResponderEvent) => boolean;
onResponderMove?: (e: GestureResponderEvent) => void;
onResponderGrant?: (e: GestureResponderEvent) => void;
@@ -101,7 +99,6 @@ const prepare = <T extends BaseProps>(
style?: {};
ref?: {};
} = {
accessible: accessible !== false,
...(hasTouchableProperty
? {
onStartShouldSetResponder: