Skip to content

Commit 4030fd7

Browse files
authored
Merge pull request #119 from TheSGJ/correct-docs
Correct docs
2 parents b7a9458 + 6458237 commit 4030fd7

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,13 @@
197197
### Updated
198198

199199
- Updated README.md Documentation for `showForHashAnchor`
200+
201+
## v3.8.15
202+
203+
### Added
204+
205+
- Added useTopLoader hook for managing NextTopLoader
206+
207+
### Fixed
208+
209+
- Fixed target being customizable

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,11 @@ If no props are passed to `<NextTopLoader />`, below is the default configuratio
198198
- `height`: height of TopLoader in `px`.
199199
- `crawl`: auto incrementing behavior for the TopLoader.
200200
- `showSpinner`: to show spinner or not.
201-
- `shadow`: a smooth shadow for the TopLoader. (set to `false` to disable it)
201+
- `shadow`: a smooth shadow for the TopLoader. (set it to `false` to disable it)
202202
- `template`: to include custom HTML attributes for the TopLoader.
203203
- `zIndex`: defines zIndex for the TopLoader.
204204
- `showAtBottom`: To show the TopLoader at bottom. (increase height for the TopLoader to ensure it's visibility at the mobile devices)
205+
- `showForHashAnchor`: To show for "#" url or not. (set it to `false` to disable it)
205206

206207
#### `NextTopLoaderProps` (props passed to the TopLoader)
207208

@@ -229,12 +230,10 @@ This project was made possible thanks to the contributions of its code contribut
229230

230231
<img src="https://opencollective.com/nextjs-toploader/contributors.svg?width=890&button=false" />
231232

232-
### Financial Contributors
233+
### Financial Contribution
233234

234235
---
235236

236-
Support this project with your organization. Your logo will show up here with a link to your website. You can Support this project on Open Collective or Equivalent Method from the below
237-
238237
UPI ID: thesgj@upi (International UPI ID)
239238

240239
[![Sponsor me on GitHub](https://img.shields.io/badge/Sponsor%20me%20on-GitHub-brightgreen)](https://github.com/sponsors/TheSGJ)

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nextjs-toploader",
3-
"version": "3.7.15",
4-
"description": "A Next.js Top Loading Bar component made using nprogress, works with Next.js 14 and React.",
3+
"version": "3.8.15",
4+
"description": "A Next.js Top Loading Bar component made using nprogress, works with Next.js 15 and Next.js 14 and React.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"scripts": {
@@ -26,6 +26,7 @@
2626
"Next",
2727
"Next TopLoader",
2828
"Next.js",
29+
"Next.js 15",
2930
"Next.js 14",
3031
"Next.js 13",
3132
"Nprogress",

0 commit comments

Comments
 (0)