1.1.0 • Published 10 months ago

remix-nprogress v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Remix NProgress

A Remix Progress Bar component made using NProgress validated for Remix + Vite.

Install

npm i remix-nprogress

Usage

Add the component as one of your children in the function Layout in root.tsx

import RemixNProgress from "remix-nprogress";

export function Layout({children}: { children: React.ReactNode }) {
  return (
    // your code here
    <body>
    <RemixNProgress/>
    {children}
    <ScrollRestoration/>
    <Scripts/>
    </body>
  );
}

Configure

You may configure how you want your progress bar to look like by passing in options

For example, to disable the spinner

<RemixNProgress showSpinner={false}/>
1.1.0

10 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago