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:
Родитель
55b32130bb
Коммит
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче