Skip to content

Commit d983974

Browse files
authored
React events: remove unused types (#15503)
1 parent 0b34311 commit d983974

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

packages/react-events/src/Focus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ type FocusProps = {
1919
onBlur: (e: FocusEvent) => void,
2020
onFocus: (e: FocusEvent) => void,
2121
onFocusChange: boolean => void,
22-
stopPropagation: boolean,
2322
};
2423

2524
type FocusState = {
@@ -105,6 +104,7 @@ const FocusResponder = {
105104
focusTarget: null,
106105
};
107106
},
107+
stopLocalPropagation: true,
108108
onEvent(
109109
event: ReactResponderEvent,
110110
context: ReactResponderContext,

packages/react-events/src/Hover.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ type HoverProps = {
2727
onHoverMove: (e: HoverEvent) => void,
2828
onHoverStart: (e: HoverEvent) => void,
2929
preventDefault: boolean,
30-
stopPropagation: boolean,
3130
};
3231

3332
type HoverState = {

packages/react-events/src/Press.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ type PressProps = {
3939
left: number,
4040
},
4141
preventDefault: boolean,
42-
stopPropagation: boolean,
4342
};
4443

4544
type PointerType = '' | 'mouse' | 'keyboard' | 'pen' | 'touch';

0 commit comments

Comments
 (0)