react-top-progress
Advanced tools
+1
-1
| { | ||
| "name": "react-top-progress", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "A lightweight modern top loading progress bar for React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+4
-3
@@ -34,5 +34,6 @@ # react-top-progress | ||
| At the top level of your application (like Next.js `app/layout.tsx` or Vite `src/App.tsx`), render the component. | ||
| At the top level of your application (like Next.js `app/layout.jsx` or Vite `src/App.jsx`), render the component. | ||
| Works flawlessly in both **JSX** and **TSX**! | ||
| ```tsx | ||
| ```jsx | ||
| import { TopProgress } from "react-top-progress"; | ||
@@ -70,3 +71,3 @@ | ||
| ```tsx | ||
| ```jsx | ||
| import { | ||
@@ -73,0 +74,0 @@ startProgress, |
56746
0.08%120
0.84%