Skip to content

Commit

Permalink
Update useGesture.ts (#642)
Browse files Browse the repository at this point in the history
Renamed UseGestureConfig to UserGestureConfig to fix type definition
  • Loading branch information
navanshu committed Nov 22, 2023
1 parent ae4cad7 commit aa02dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/useGesture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { createUseGesture } from './createUseGesture'
* The most complete gesture hook, allowing support for multiple gestures.
*
* @param {GestureHandlers} handlers - an object with on[Gesture] keys containg gesture handlers
* @param {UseGestureConfig} config - the full config object
* @param {UserGestureConfig} config - the full config object
*/
export function useGesture<
HandlerTypes extends AnyHandlerEventTypes = EventTypes,
Expand Down

0 comments on commit aa02dde

Please sign in to comment.