Skip to content

Commit

Permalink
fix: fixed type of props
Browse files Browse the repository at this point in the history
  • Loading branch information
dohooo committed Jan 26, 2022
1 parent d96dcf4 commit bb1e99b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ export type TCarouselProps<T = any> = {
/**
* PanGestureHandler props
*/
panGestureHandlerProps?: Omit<
Partial<PanGestureHandlerProps>,
'onHandlerStateChange'
panGestureHandlerProps?: Partial<
Omit<PanGestureHandlerProps, 'onHandlerStateChange'>
>;
/**
* Determines the maximum number of items will respond to pan gesture events,
Expand Down

0 comments on commit bb1e99b

Please sign in to comment.