1.1.0 • Published 11 months ago

remix-nprogress v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 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

11 months ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago