Skip to content

Commit

Permalink
chore: del generic from type in useOutsideClick hook
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaCG committed Oct 3, 2023
1 parent a2aa198 commit 99a5c46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hooks/useOutsideClick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The `useOutsideClick` hook helps to track the click outside of the tracked eleme

## Properties

| Name | Description | Type | Default |
| :------ | :---------------------------------------------------------------- | :------------------: | :-----: |
| ref | Ref-link to target of observation | `React.RefObject<T>` | |
| handler | Callback when a click is triggered outside the observation target | `() => void` | |
| Name | Description | Type | Default |
| :------ | :---------------------------------------------------------------- | :---------------: | :-----: |
| ref | Ref-link to target of observation | `React.RefObject` | |
| handler | Callback when a click is triggered outside the observation target | `() => void` | |

0 comments on commit 99a5c46

Please sign in to comment.