mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
React events: remove unused types (#15503)
This commit is contained in:
Vendored
+1
-1
@@ -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,
|
||||
|
||||
Vendored
-1
@@ -27,7 +27,6 @@ type HoverProps = {
|
||||
onHoverMove: (e: HoverEvent) => void,
|
||||
onHoverStart: (e: HoverEvent) => void,
|
||||
preventDefault: boolean,
|
||||
stopPropagation: boolean,
|
||||
};
|
||||
|
||||
type HoverState = {
|
||||
|
||||
Vendored
-1
@@ -39,7 +39,6 @@ type PressProps = {
|
||||
left: number,
|
||||
},
|
||||
preventDefault: boolean,
|
||||
stopPropagation: boolean,
|
||||
};
|
||||
|
||||
type PointerType = '' | 'mouse' | 'keyboard' | 'pen' | 'touch';
|
||||
|
||||
Reference in New Issue
Block a user