diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2023-12-06 12:39:54 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2023-12-06 12:39:54 -0500 |
| commit | c72311d01a827a61d6d3d786416ddb442076d73a (patch) | |
| tree | 131861ab1df1a0cb09ed52ead5ecde8edad6e997 /src/components/progress-bar.tsx | |
| parent | 6c4ced0f79f801d85da5e4973ae4154f01b04dba (diff) | |
Better loading behavior
Diffstat (limited to 'src/components/progress-bar.tsx')
| -rw-r--r-- | src/components/progress-bar.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/progress-bar.tsx b/src/components/progress-bar.tsx new file mode 100644 index 0000000..cbf068e --- /dev/null +++ b/src/components/progress-bar.tsx @@ -0,0 +1,13 @@ +'use client' +import { Next13ProgressBar } from 'next13-progressbar' + +export function ProgressBar() { + return ( + <Next13ProgressBar + height="2px" + color="#64748b" + options={{ showSpinner: true }} + showOnShallow + /> + ) +} |
