({ children }: { children: React.ReactNode })
| 3 | import { ProgressProvider } from '@bprogress/next/app'; |
| 4 | |
| 5 | export const ProgressBarProvider = ({ children }: { children: React.ReactNode }) => { |
| 6 | return ( |
| 7 | <ProgressProvider |
| 8 | color="var(--highlight)" |
| 9 | height="2px" |
| 10 | options={{ |
| 11 | showSpinner: false |
| 12 | }} |
| 13 | delay={300} |
| 14 | shallowRouting |
| 15 | > |
| 16 | {children} |
| 17 | </ProgressProvider> |
| 18 | ); |
| 19 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected