mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
19 lines
477 B
TypeScript
19 lines
477 B
TypeScript
'use client';
|
|
import { ProgressProvider } from '@bprogress/next/app';
|
|
|
|
const ProgressBarProviders = ({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<>
|
|
<ProgressProvider
|
|
height="4px"
|
|
color="#EA512C"
|
|
options={{ showSpinner: true }}
|
|
shallowRouting
|
|
>
|
|
{children}
|
|
</ProgressProvider>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default ProgressBarProviders; |