Skip to content

Commit 3982df8

Browse files
committed
fix: typo in template value and shadow value in prop type table in README
1 parent a8f524c commit 3982df8

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,9 @@
171171
### Fixed
172172

173173
- Fixed imports, PagesTopLoader imported incorrectly like nextjs-toploader/dist/pages and useEffect like nextjs-toploader/dist/app
174+
175+
## v3.6.14
176+
177+
### Fixed
178+
179+
- Fixed typo in template value and shadow value in prop type table in README

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -160,20 +160,20 @@ If no props are passed to `<NextTopLoader />`, below is the default configuratio
160160

161161
#### `NextTopLoaderProps` (props passed to the TopLoader)
162162

163-
| **Name** | **Type** | **Default Value** |
164-
| ----------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
165-
| `color` | `string` | `"#29d"` |
166-
| `initialPosition` | `number` | `0.08` |
167-
| `crawlSpeed` | `number` | `200` |
168-
| `height` | `number` | `3` |
169-
| `crawl` | `boolean` | `true` |
170-
| `showSpinner` | `boolean` | `true` |
171-
| `easing` | `string` | `"ease"` |
172-
| `speed` | `number` | `200` |
173-
| `shadow` | `string \| false` | `"0 0 10px ${color}, 0 0 5px ${color}"` |
174-
| `template` | `string` | `"<div class=\"bar\" role=\"bar\"><div class=\"peg\"></div></div><div class=\"spinner\" role=\"spinner\"><div class=\"spinner-icon\"></div></div>"` |
175-
| `zIndex` | `number` | `1600` |
176-
| `showAtBottom` | `boolean` | `false` |
163+
| **Name** | **Type** | **Default Value** |
164+
| ----------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
165+
| `color` | `string` | `"#2299DD"` |
166+
| `initialPosition` | `number` | `0.08` |
167+
| `crawlSpeed` | `number` | `200` |
168+
| `height` | `number` | `3` |
169+
| `crawl` | `boolean` | `true` |
170+
| `showSpinner` | `boolean` | `true` |
171+
| `easing` | `string` | `"ease"` |
172+
| `speed` | `number` | `200` |
173+
| `shadow` | `string \| false` | `"0 0 10px #2299DD,0 0 5px #2299DD"` |
174+
| `template` | `string` | `<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>` |
175+
| `zIndex` | `number` | `1600` |
176+
| `showAtBottom` | `boolean` | `false` |
177177

178178
## Contributors
179179

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thesgj/nextjs-toploader",
3-
"version": "3.6.13",
3+
"version": "3.6.14",
44
"exports": "./src/index.tsx",
55
"compilerOptions": {
66
"jsx": "react-jsx",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-toploader",
3-
"version": "3.6.13",
3+
"version": "3.6.14",
44
"description": "A Next.js Top Loading Bar component made using nprogress, works with Next.js 14 and React.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)