Skip to content

Commit

Permalink
Finish functional to class reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
tcobbs-bentley committed Jun 25, 2024
1 parent c5c0a97 commit 7878668
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mobile-ui-react/ResizablePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ interface TouchCaptorProps extends CommonProps {
onTouchStart?: (e: TouchEvent) => void;
onTouchMove?: (e: TouchEvent) => void;
onTouchEnd?: (e: TouchEvent) => void;
children?: React.ReactNode;
}

// This is a copy of PointerCaptor that has been changed to work with touch events instead.
Expand Down Expand Up @@ -477,7 +476,6 @@ interface TouchDragHandleProps extends CommonProps {
onDragStart?: (initialPosition: XAndY) => void;
/** Function called when component drag is finished. */
onDragEnd?: () => void;
children?: React.ReactNode;
}

// A copy of the DragHandle class that uses TouchCaptor instead of PointerCaptor and only allows single touches during drags.
Expand Down

0 comments on commit 7878668

Please sign in to comment.