0.1.0 • Published 3 years ago

@yiyb0603/react-scroll-progress-line v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@yiyb0603/react-scroll-progress-line

🎁 This package is a bar with the ability to show at the top how far down the current scroll point is.

Install

npm install --save @yiyb0603/react-scroll-progress-line

or

yarn add @yiyb0603/react-scroll-progress-line

Props

Usage

import React from 'react'

import ScrollProgressLine from '@yiyb0603/react-scroll-progress-line'

const App = (): JSX.Element => {
  return (
    <ScrollProgressLine
      backgroundColor='gray'
      progressColor='blue'
      height='8px'
    />
  )
}

export default App

Execution

Untitled_ Jul 19, 2021 1_46 PM

License

MIT © yiyb0603