Skip to content

Commit

Permalink
Fix importe and reorder hook exports alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
abdorrahmani committed Nov 20, 2024
1 parent 6142561 commit 00ce86a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/usehooks-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * from './useBoolean'
export * from './useClickAnyWhere'
export * from './useCopyToClipboard'
export * from './useCountdown'
export * from './useContextMenu'
export * from './useCounter'
export * from './useDarkMode'
export * from './useDebounceCallback'
Expand Down Expand Up @@ -31,4 +32,3 @@ export * from './useTimeout'
export * from './useToggle'
export * from './useUnmount'
export * from './useWindowSize'
export * from './useContextMenu'
2 changes: 1 addition & 1 deletion packages/usehooks-ts/src/useContextMenu/useContextMenu.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
To use this hook, simply copy the `useContextMenu` code into your project.

```typescript
import { useContextMenu } from './useContextMenu';
import { useContextMenu } from 'usehooks-ts';

0 comments on commit 00ce86a

Please sign in to comment.