Skip to content

Commit

Permalink
Update View hitSlop TypeScript type
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitarNestorov committed Oct 19, 2023
1 parent 6e42c98 commit ec86a85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export interface ViewProps
* the Z-index of sibling views always takes precedence if a touch
* hits two overlapping views.
*/
hitSlop?: Insets | undefined;
hitSlop?: null | Insets | number | undefined;

/**
* Used to reference react managed views from native code.
Expand Down

0 comments on commit ec86a85

Please sign in to comment.