Skip to content

Commit

Permalink
Merge pull request #33 from ProchaLu/add-template-readme
Browse files Browse the repository at this point in the history
Improve Readme for template option
  • Loading branch information
TheSGJ authored Oct 16, 2023
2 parents e93bba6 + 3bfa847 commit c26303d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ If no props are passed to `<NextTopLoader />`, below is the default configuratio
easing="ease"
speed={200}
shadow="0 0 10px #2299DD,0 0 5px #2299DD"
template='<div class="bar" role="bar"><div class="peg"></div></div>
<div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
/>
```

Expand All @@ -87,6 +89,7 @@ If no props are passed to `<NextTopLoader />`, below is the default configuratio
- `crawl`: auto incrementing behavior for the TopLoader.
- `showSpinner`: to show spinner or not.
- `shadow`: a smooth shadow for the TopLoader. (set to `false` to disable it)
- `template`: to include custom HTML attributes for the TopLoader.

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

Expand Down

0 comments on commit c26303d

Please sign in to comment.