Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Update type for onMouseMove and onMouseUp handlers for flow@0.82.0
  • Loading branch information
amccloud authored Oct 6, 2018
1 parent 4bd7efd commit 15a5cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ const baseClassName = '__resizable_base__';
export default class Resizable extends React.Component<ResizableProps, State> {
resizable: React.ElementRef<'div'>;
onTouchMove: ResizeCallback;
onMouseMove: ResizeCallback;
onMouseUp: ResizeCallback;
onMouseMove: (event: MouseEvent | TouchEvent) => void;
onMouseUp: (event: MouseEvent | TouchEvent) => void;
onResizeStart: OnStartCallback;
extendsProps: { [key: string]: any };

Expand Down

0 comments on commit 15a5cde

Please sign in to comment.