Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
763 B
Plaintext
17 lines
763 B
Plaintext
import React from 'react';
|
|
import './index.scss';
|
|
/**
|
|
* Renders a progress bar that shows the progress of a route transition.
|
|
* Place this at the root of your application, inside of the `RouteTransitionProvider`.
|
|
* When a transition is triggered, the progress bar will show the progress of that transition and exit when the transition is complete.
|
|
* @returns A progress bar that shows the progress of a route transition
|
|
* @example
|
|
* import { RouteTransitionProvider, ProgressBar, Link } from '@payloadcms/ui'
|
|
* const App = () => (
|
|
* <RouteTransitionProvider>
|
|
* <ProgressBar />
|
|
* <Link href="/somewhere">Go Somewhere</Link>
|
|
* </RouteTransitionProvider>
|
|
*/
|
|
export declare const ProgressBar: () => React.JSX.Element;
|
|
//# sourceMappingURL=index.d.ts.map |