React events: remove unused types (#15503)

This commit is contained in:
Nicolas Gallagher
2019-04-25 15:11:53 -07:00
committed by GitHub
parent 0b34311705
commit d9839740ef
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,6 @@ type FocusProps = {
onBlur: (e: FocusEvent) => void,
onFocus: (e: FocusEvent) => void,
onFocusChange: boolean => void,
stopPropagation: boolean,
};
type FocusState = {
@@ -105,6 +104,7 @@ const FocusResponder = {
focusTarget: null,
};
},
stopLocalPropagation: true,
onEvent(
event: ReactResponderEvent,
context: ReactResponderContext,
-1
View File
@@ -27,7 +27,6 @@ type HoverProps = {
onHoverMove: (e: HoverEvent) => void,
onHoverStart: (e: HoverEvent) => void,
preventDefault: boolean,
stopPropagation: boolean,
};
type HoverState = {
-1
View File
@@ -39,7 +39,6 @@ type PressProps = {
left: number,
},
preventDefault: boolean,
stopPropagation: boolean,
};
type PointerType = '' | 'mouse' | 'keyboard' | 'pen' | 'touch';