apal21 / nextjs-progressbar

A simple Next.js progressbar component using NProgress.
https://www.npmjs.com/package/nextjs-progressbar
MIT License
780 stars 61 forks source link

height should be number or undefined #29

Closed ghost closed 3 years ago

ghost commented 3 years ago

Description

In the documentation you have added height as a string when it should be a number as per type declaration.

<NextNprogress
  color="#29D"
  startPosition={0.3}
  stopDelayMs={200}
  height="3"
/>

Error

image

Expected

image