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:44:48 -07:00 коммит произвёл Facebook Github Bot
Родитель 55b32130bb
Коммит fb5276c189
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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,