Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdcodes committed Aug 18, 2024
1 parent 4fb2085 commit 9c82b62
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ npm install @codiume/hooks
yarn add @codiume/hooks
```

## Usage

- [use-in-viewport](./docs/use-in-viewport)
- [use-queue](./docs/use-queue)
- [use-scroll](./docs/use-scroll)
- [use-singleton](./docs/use-singleton)
## Hooks

| Hook | Description |
| ------------- | ----------- |
| [use-in-viewport](./src/use-in-viewport) | Detects if element is visible in the viewport |
| [use-queue](./src/use-queue) | Manage state of elements in FIFO-like strategy |
| [use-scroll](./src/use-scroll) | Tracks scroll position of an element |
| [use-singleton](./src/use-singleton) | Creates a value exactly once |

## Contributing

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/use-queue/README.md → src/use-queue/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🔄 useQueue

`useQueue` Provides a simple and efficient way to manage queue-like data structures in React applications,
Provides a simple and efficient way to manage queue-like data structures in React applications,
It's type-safe, easy to use, and can be adapted for various use cases where FIFO behavior is needed.

## Usage
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9c82b62

Please sign in to comment.