Skip to content

Commit

Permalink
React events: remove unused types (#15503)
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas authored Apr 25, 2019
1 parent 0b34311 commit d983974
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-events/src/Focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ type FocusProps = {
onBlur: (e: FocusEvent) => void,
onFocus: (e: FocusEvent) => void,
onFocusChange: boolean => void,
stopPropagation: boolean,
};

type FocusState = {
Expand Down Expand Up @@ -105,6 +104,7 @@ const FocusResponder = {
focusTarget: null,
};
},
stopLocalPropagation: true,
onEvent(
event: ReactResponderEvent,
context: ReactResponderContext,
Expand Down
1 change: 0 additions & 1 deletion packages/react-events/src/Hover.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ type HoverProps = {
onHoverMove: (e: HoverEvent) => void,
onHoverStart: (e: HoverEvent) => void,
preventDefault: boolean,
stopPropagation: boolean,
};

type HoverState = {
Expand Down
1 change: 0 additions & 1 deletion packages/react-events/src/Press.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ type PressProps = {
left: number,
},
preventDefault: boolean,
stopPropagation: boolean,
};

type PointerType = '' | 'mouse' | 'keyboard' | 'pen' | 'touch';
Expand Down

0 comments on commit d983974

Please sign in to comment.