1.0.0 • Published 3 years ago

react-seekbar-component v1.0.0

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

react-seekbar-component

react-seekbar-component

NPM JavaScript Style Guide

Install

npm install --save react-seekbar-component

Usage

import React, { useState } from 'react'
import SeekBar from 'react-seekbar-component'
import 'react-seekbar-component/dist/index.css'

const App = () => {

  const [value, setValue] = useState(0)

  return (
    <div>
      <SeekBar
        getNumber={setValue}
        width="60%"
        backgroundColor="gray"
        fillColor="red"
        fillSecondaryColor="blue"
        headColor="white"
        headShadow="white"
        headShadowSize={6}
        progress={89}
      />
    </div>
  )
}

License

MIT © suryakantsharma-coder