Remove duplicate flow type for TouchableProps

Summary: These are already defined as part of ViewProps. They don't need to be duplicated

Reviewed By: lunaleaps

Differential Revision: D17859553

fbshipit-source-id: c3de534526efd94c0a9ff2c772a4d92c6164815b
This commit is contained in:
Eli White
2019-10-11 09:49:28 -07:00
committed by Facebook Github Bot
parent 55b32130bb
commit fb5276c189
@@ -80,14 +80,6 @@ export type ScrollResponderType = {
...typeof ScrollResponder.Mixin,
};
type TouchableProps = $ReadOnly<{|
onTouchStart?: (event: PressEvent) => void,
onTouchMove?: (event: PressEvent) => void,
onTouchEnd?: (event: PressEvent) => void,
onTouchCancel?: (event: PressEvent) => void,
onTouchEndCapture?: (event: PressEvent) => void,
|}>;
type IOSProps = $ReadOnly<{|
/**
* Controls whether iOS should automatically adjust the content inset
@@ -383,7 +375,6 @@ type StickyHeaderComponentType = React.ComponentType<ScrollViewStickyHeaderProps
export type Props = $ReadOnly<{|
...ViewProps,
...TouchableProps,
...IOSProps,
...AndroidProps,
...VRProps,